YSF help
#1

I downloaded YSF and I want some little help. I made a /fly command:

pawn Код:
CMD:fly(playerid, params[]) {
    #pragma unused params
    if(IsPlayerAdmin(playerid)) {
        SetPlayerGravity(playerid, 0);
    }
    else return SendClientMessage(playerid, COLOR_BRIGHTRED, "You have no acces to this command");
    return 1;
}
And I think this should work. Now, for the /stopfly, I want that the player who is flying will be slowly putted down so his HP will be not lost. Can you help me?!
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: 2 Guest(s)