Help?
#2

Hello!

Here you are. Look, what I changed.

PHP код:
CMD:respawnall(playerid,params[])
{
    new 
string[145];
    if(
APlayerData[playerid][PlayerLevel] < 4)return SendClientMessage(playerid0xFF0000FF"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(stringsizeof(string), "Adminul %s a respawnat toate masinile."pName(playerid));
     
SendClientMessageToAll(COLOR_ROYALBLUE,string);
     return 
1;

Reply


Messages In This Thread
Help? - by Banditul18 - 21.12.2015, 16:36
Re: Help? - by Mencent - 21.12.2015, 16:40
Re: Help? - by Banditul18 - 22.12.2015, 07:48
Re: Help? - by itsCody - 22.12.2015, 08:07
Re: Help? - by X337 - 22.12.2015, 08:26
Re: Help? - by itsCody - 22.12.2015, 08:35
Re: Help? - by X337 - 22.12.2015, 08:41
Re: Help? - by Banditul18 - 22.12.2015, 09:38

Forum Jump:


Users browsing this thread: 1 Guest(s)