30.05.2011, 18:11
No, that didnt work, dw, I just edited the code:
And I will do for all commands what require a "Yes".
pawn Код:
CMD:respawncars(PARAMS)
{
LoginCheck(playerid);
LevelCheck(playerid, 5);
{
for (new v = 0; v < MAX_VEHICLES; v++)
{
if(!VehicleOccupied(v))
{
SetVehicleToRespawn(v);
}
}
SendAdminCMD(playerid, "Admin "ORAN"%s[%i]"GREY" respawned all server unoccupied vehicles!", Name(playerid), playerid);
SendClientMessage(playerid, Color:GREY, "You respawned all server unoccupied vehicles!");
}
return 1;
}