07.07.2011, 05:25
How can I go about making a command like:
/Enable Something 1, you can either enter 1 or 0 and it sets the value for "Something"
Something like:
/Enable Something 1, you can either enter 1 or 0 and it sets the value for "Something"
Something like:
pawn Код:
CMD:test(playerid, params[])
{
if(isnull(params)) return 0;
if(strcmp.. "something"..
{
if(isnull(what_here?)) return "Usage: /Test Something <0or1>"
something = 1; or something = 0;
}
}
