SA-MP Forums Archive
compound - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: compound (/showthread.php?tid=74246)



compound - shady91 - 20.04.2009

Could anyone tell me how to make a compound so i could make it so compouned cars cant resapwn when i respawn cars.


Re: compound - yom - 20.04.2009

What is a compound?


Re: compound - shady91 - 20.04.2009

it is were towed away cars go untill person pays for a release xD



Re: compound - ICECOLDKILLAK8 - 20.04.2009

Create a variable for all 700 vehicleids
pawn Код:
new Impounded[MAX_VEHICLES];
When the cars get impounded then set that variable to 1
pawn Код:
Impounded[vehicleid] = 1;
Then in OnVehicleSpawn check if the vehicles impounded, If it is then teleport it to the Impound