11.06.2014, 13:00
Use this. Also change it to your own variable to avoid errors.
pawn Код:
CMD:respawncars(playerid, params[])
{
new string[128];
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, -1, "You need to login first before using any command.");
if(PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, -1, "You are not authorized to use this command.");
for(new i=0; i<MAX_VEHICLES; i++)
{
SetVehicleToRespawn(i);
}
return 1;
}