13.10.2009, 22:15
Sorry forgot to remove that PlayerInfo thing .. Here is the correct one
Just change the command and leave the rest to be like it is
pawn Код:
if(strcmp(cmd, "/respawncars", true) == 0)
{
for(new i=0;i<MAX_VEHICLES;i++)
{
if(IsVehicleOccupied(i) == 0)
{
SetVehicleToRespawn(i);
}
}
GetPlayerName(playerid,playername,sizeof(playername));
format(string,sizeof(string),"[AdminCmd]: All vehicles respawned by Admin : %s",playername);
SendClientMessageToAll(Admin, string);
return 1;
}

