SA-MP Forums Archive
Car respawn - 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)
+--- Thread: Car respawn (/showthread.php?tid=455260)



Car respawn - Kudoz - 01.08.2013

Hello! I'm trying to create a car respawner. I have a command which respawn every single unoccupied car in the server, but I want one which respawns one single car. When I go ingame and type /DL i get the Vehicle id and model id etc, so how can I get the ids, so I can respawn that specific car?


Re: Car respawn - Scenario - 01.08.2013

pawn Код:
CMD:(playerid, params[]) return SetVehicleToRespawn(strval(params));
It's quite simple. All you need is the vehicle ID and the SetVehicleToRespawn function. Please try searching next time!