View Full Version: Multi car spawner

CheatSync.net Forums > Cheat Device Development > Multi car spawner


Title: Multi car spawner
Description: lcs multi spawner???


DUBVSIXTEEN - March 9, 2008 11:42 PM (GMT)
hey, i got the lcs vehicle spawner (thanks for your help finch) but i can only get it to spawn one vehicle. is there any way or other program that will spawn more than one vehicle?

thanks

xFinch713x - March 11, 2008 03:00 PM (GMT)
you can manually do it, its not too hard. just if you mess an early one up, you mess them all up, so you gotta be careful. i know you add a certain hex value to the address, just i forget how much.

DUBVSIXTEEN - May 19, 2008 11:26 PM (GMT)
could someone please help me with this, cause ive got a couple sweet bases but i can only spawn one car, wat fun is that?

cgimusic - September 1, 2008 09:33 AM (GMT)
The code to spawn a car is:
CODE
#cheat {name}
pspawn = 0x08E81290;
setint(pspawn, {car id});
setfloat(pspawn + 0x4, {x}, {y}, {z}, {angle});


To add another you need a different memory address. So your next piece of code will be like this:
CODE
pspawn += 0x30;
setint(pspawn, {car id});
setfloat(pspawn + 0x4, {x}, {y}, {z}, {angle});


So for three cars it would be:
CODE
#cheat {name}
pspawn = 0x08E81290;
setint(pspawn, {car id});
setfloat(pspawn + 0x4, {x}, {y}, {z}, {angle});
pspawn += 0x30;
setint(pspawn, {car id});
setfloat(pspawn + 0x4, {x}, {y}, {z}, {angle});
pspawn += 0x30;
setint(pspawn, {car id});
setfloat(pspawn + 0x4, {x}, {y}, {z}, {angle});


Variables don't work from one cheat to the next so:
a. You cant spawn something in one cheat and then spawn it in another.
b. You can only spawn something once. The car can not be made to reappear at the spawn location unless it is destroyed.

Why is it so hard to do in VCS?




Hosted for free by InvisionFree