Crash near command
#1

ok so ive made this cmd

pawn Код:
CMD:crash(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] < 99999)
    {
        SendClientMessageEx(playerid, COLOR_GRAD2, "You are not authorized to use this command!");
        return 1;
    }

    new
        id;
    if(sscanf(params, "ud", id)) return SendClientMessage(playerid, -1, "USE: /crash [ID]");
    SendClientMessageEx(playerid, COLOR_RED, "Please note this command will crash the given player");
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "Player not connected.");
    GameTextForPlayer(id, "%%$#@1~555#",66666000, 6);
    return 1;
}
i wanna transfer it to a /crashnear where i type the radius such as /crashnear 100 will crash players in the radious of 100
Reply


Messages In This Thread
Crash near command - by NinjaChicken - 27.07.2012, 10:18
Re: Crash near command - by Andi_Evandy - 27.07.2012, 10:23
Re: Crash near command - by NinjaChicken - 27.07.2012, 10:25
Re: Crash near command - by Andi_Evandy - 27.07.2012, 10:28
Re: Crash near command - by NinjaChicken - 27.07.2012, 10:31

Forum Jump:


Users browsing this thread: 2 Guest(s)