YSF help
#2

pawn Код:
CMD:stopfly(playerid, params[]) {
    #pragma unused params
    if(IsPlayerAdmin(playerid)) {
        if(SetPlayerGravity(playerid, 0)) {
            SetPlayerGravity(playerid, 0.5);
        }
        else return SendClientMessage(playerid, COLOR_TAN, "You must be flying to use this command");
    }
    else return SendClientMessage(playerid, COLOR_BRIGHTRED, "You have no acces to this command");
    return 1;
}
Should this work? Never tried that... :P
Reply


Messages In This Thread
YSF help - by Rivera - 14.04.2011, 19:36
Re: YSF help - by Rivera - 14.04.2011, 19:41
Re: YSF help - by Max_Coldheart - 14.04.2011, 19:49
Re: YSF help - by Rivera - 14.04.2011, 19:53
Re: YSF help - by Rivera - 14.04.2011, 19:55
Re: YSF help - by Rivera - 15.04.2011, 07:23
Re: YSF help - by Jake__ - 15.04.2011, 08:49
Re: YSF help - by Rivera - 15.04.2011, 10:51

Forum Jump:


Users browsing this thread: 1 Guest(s)