commands with two possible parameters
#1

what i am trying to create is very simple, but i noticed i never really got into this specific part, i guess its about time i learned this.

What i want to do is a cmd called "toggle", and depending on the parameter the player use, for example:
/toggle pm, it would toggle the player PM. If he types /toggle stats that would toggle his stats, how can i write it using CMD:command(playerid, params[])?
Reply


Messages In This Thread
commands with two possible parameters - by GwENiko - 25.09.2014, 04:43
Re: commands with two possible parameters - by IceBilizard - 25.09.2014, 04:49
Re: commands with two possible parameters - by Pottus - 25.09.2014, 05:18

Forum Jump:


Users browsing this thread: 1 Guest(s)