Command Help
#9

Quote:
Originally Posted by Macronix
Посмотреть сообщение
pawn Код:
CMD:respawncars(playerid, params[])
{
    #pragma unused params
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You are not authorized to use this command.");
    for(new i=0; i<MAX_VEHICLES; i++)
    {
        SetVehicleToRespawn(i);
    }
    SendClientMessageToAll(-1, "Every vehicle has been respawned!");
    return 1;
}
Only RCON Admins can use this command
You can replace the line where it checks for RCON Admin with your Admin variable
you dont have any cod for all admin please
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: 3 Guest(s)