FANDOM


Car SpawningEdit

Nearly as basic as you can get, car spawning is very easy to do.


Starting AddressEdit

pspawn = 0x08E81290;

This sets up pspawn, a variable that holds the address of the first spawned car in memory. For each new car spawned, + 0x30 must be added to the address.


Car IDEdit

pspawn + 0x0 int

This int holds the ID of the car to be spawned. See below for a list of car IDs.


Spawn Location and AngleEdit

pspawn + 0x10 float

These 4 floats in X, Y, Z, Angle order are used to determine where and how the car will be spawned. X, Y, and Z refer to the coordinates, and Angle refers to the car's Z rotation.



Example:

#cheat PCJ-600 and Jet Ski spawn at 101 Bayshore
pspawn = 0x08E81290;
setint(pspawn, 212); // modelid pcj-600
setfloat(pspawn + 4, -801.37, -1178.76, 10.96, 290); // x, y, z, angle
pspawn += 0x30;
setint(pspawn, 233); // modelid jet ski
setfloat(pspawn + 4, -729.4, -1148.9, 6.0, 20); // x, y, z, angle
pspawn += 0x30;

-Credit to Edison Carter


ReferenceEdit

ID Car Name
170 6 ATV
171 Admiral
172 Cheetah
173 Autogyro
174 Baggage Handler
175 Banshee
176 Perennial
177 Blista Compact
178 BMX (Boy)
179 BMX (Girly)
180 Bobcat
181 Bull Dozer
182 Burrito
183 Cabbie
184 Caddy
185 Speeder (Fast)
186 Polaris V8
187 Deluxo
188 Armadillo
189 Ambulance Heli
190 Wintergreen
191 Police Bike
192 Esperanto
193 FBI Car
194 Fire Truck
195 Glendale
196 Greenwood
197 Hermes
198 Hover Craft
199 Idaho
200 Landstalker
201 Manana
202 Ventoso
203 Oceanic
204 Cheetah (Cop)
205 Sanchez
206 Stallion
207 Police Car
208 Domestobot
209 Patriot
210 Pony
211 Sentinel
212 PCJ 600
213 Maverick
214 Reefer
215 Speeder
216 Linerunner
217 Walton
218 Barracks OL
219 Predator
220 Flatbed
221 Ammo Truck
222 Biplane
223 Moonbeam
224 Rumpo
225 Yola
226 Taxi
227 Ambulance
228 Stretch
229 Faggio
230 Quad
231 Angel
232 Freeway
233 Jet Ski
234 Enforcer
235 Boxville
236 Benson
237 Coach
238 Mule
239 Voodoo
240 Securicar
241 Trashmaster
242 Top Fun (CRASH)
243 Yankee
244 Mr Whoopee
245 Sand King
246 Rhino
247 Dinghy
248 Marquis
249 Rio
250 Tropic
251 Forklift
252 Street Fighter
253 Virgo
254 Stinger
255 BF Injection
256 Pheonix
257 Squalo
258 Jetmax
259 Mesa
260 VCN Maverick
261 Police Maverick
262 Sparrow
263 Sea Sparrow
264 Violator
265 Chollo
266 Comet
267 Cuban Hermes
268 FBI Rancher
269 Gang Rancher
270 Infernus
271 Regina
272 Sabre
273 Sabre Turbo
274 Sentinel XS
275 Hunter
276 Washington
277 Coast Gaurd
278 Skimmer
279 Green VCPD Heli
280 Airtrain (CRASH)

From VCS Cracked Open

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.