21.12.2015, 16:40
Hello!
Here you are. Look, what I changed.
Here you are. Look, what I changed.
PHP код:
CMD:respawnall(playerid,params[])
{
new string[145];
if(APlayerData[playerid][PlayerLevel] < 4)return SendClientMessage(playerid, 0xFF0000FF, "Nu ai level neceasr!");
for(new car=1;car<=1999;car++)
{
if(GetVehicleTrailer(car) > 0)continue;
if(IsVehicleEmpty(car)) SetVehicleToRespawn(car);
}
//GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "Adminul %s a respawnat toate masinile.", pName(playerid));
SendClientMessageToAll(COLOR_ROYALBLUE,string);
return 1;
}