26.03.2014, 22:55
Command for respawning all cars.
What kind of textdraw do you want when a player connects to your server ? and the timer should be 5 seconds rite ?
pawn Код:
CMD:respawncars(playerid,params[])
{
for(new i=0; i<MAX_VEHICLES; i++)
{
if(UnoccupiedVehicle(i))
{
SetVehicleToRespawn(i);
}
}
return SendClientMessage(playerid,yellow,"You have respawned all vehicles!");
}