Command Help
#6

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;
}
Reply


Messages In This Thread
Command Help - by EmadQmars - 11.06.2014, 12:20
Re: Command Help - by Laure - 11.06.2014, 12:46
Re: Command Help - by EmadQmars - 11.06.2014, 12:50
Re: Command Help - by Weponz - 11.06.2014, 12:52
Re: Command Help - by EmadQmars - 11.06.2014, 12:55
Re: Command Help - by Laure - 11.06.2014, 13:00
Re: Command Help - by EmadQmars - 11.06.2014, 13:34
AW: Command Help - by Macronix - 11.06.2014, 14:00
Re: AW: Command Help - by EmadQmars - 11.06.2014, 15:34
Re: Command Help - by EmadQmars - 11.06.2014, 16:23

Forum Jump:


Users browsing this thread: 7 Guest(s)