Urgent need help making /fly cmd
#6

pawn Код:
#include <fly>
new bool:IsFlying[MAX_PLAYERS] = false;
CMD:fly(playerid, params[])
{
    if (PlayerInfo[playerid][pAdmin] < 2)  return SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command.");
    if(IsFlying[playerid] == false)
    {
        StartFly(playerid);
        IsFlying(playerid) = true;
    }
    else
    {
        StopFly(playerid);
        IsFlying[playerid] = false;
    }
    return 1;
}
Reply


Messages In This Thread
Urgent need help making /fly cmd - by NinjaChicken - 30.07.2012, 12:28
Re: Urgent need help making /fly cmd - by SomebodyAndMe - 30.07.2012, 12:31
Re: Urgent need help making /fly cmd - by NinjaChicken - 30.07.2012, 12:35
Re: Urgent need help making /fly cmd - by NinjaChicken - 31.07.2012, 01:37
Re: Urgent need help making /fly cmd - by THE_KING$5$ - 31.07.2012, 02:08
Re: Urgent need help making /fly cmd - by [MM]RoXoR[FS] - 31.07.2012, 04:50

Forum Jump:


Users browsing this thread: 1 Guest(s)