SA-MP Forums Archive
Car respawn cmd - 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 cmd (/showthread.php?tid=446778)



Car respawn cmd - Fernado Samuel - 27.06.2013

Can anyone please give a command which respawn all the cars in grand larc mod?


Re: Car respawn cmd - GeniusPobs - 27.06.2013

Well, here is a example:
Код:
if(strcmp("/respawnallvehicles", cmdtext, true) == 0)
{
for(new veh=1; veh<MAX_VEHICLES; veh++)
{ 
SetVehicleToRespawn(veh);
}
return 1;
}