/Pullover
#4

I think i understand what you mean.

You want to be able to just do /pullover instead of /pullover [param]

If so; replace:
pawn Код:
if(isnull(params)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/pullover");
                        else if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You're not in a vehicle.");
With:

pawn Код:
if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You're not in a vehicle.");
If i'm correct, isnull(params) is checking to see if your command has any text with it (E.G: /pullover [text]).
Reply


Messages In This Thread
/Pullover - by Smally - 22.11.2011, 19:51
Re: /Pullover - by Jordiee - 23.11.2011, 09:47
Re: /Pullover - by Smally - 23.11.2011, 19:21
Re: /Pullover - by jamiesage123 - 23.11.2011, 20:01
Re: /Pullover - by Jordiee - 23.11.2011, 20:47
Re: /Pullover - by jamiesage123 - 23.11.2011, 20:58
Re: /Pullover - by Smally - 24.11.2011, 14:49
Re: /Pullover - by SmiT - 24.11.2011, 14:51
Re: /Pullover - by Smally - 24.11.2011, 14:58

Forum Jump:


Users browsing this thread: 1 Guest(s)