Sub-Command (playerid or range)?
#1

So my question is this:

I made a command that gives money to a player. Now that works fine (/givemoney [playerid] [money])

But i want to make it so I can type /giveweapon [playerid/range] [money]

So, I know how to do it with two options, example /giveweapon [range/all] [money], but how do I do it with both playerid/name and range, can't figure it out.

Thanks.
Reply


Messages In This Thread
[SOLVED] Sub-Command (playerid or range)? - by RayBiH - 18.12.2016, 18:35
Re: Sub-Command (playerid or range)? - by Konstantinos - 18.12.2016, 18:40
Re: Sub-Command (playerid or range)? - by RayBiH - 18.12.2016, 18:59
Re: Sub-Command (playerid or range)? - by SickAttack - 18.12.2016, 19:09
Re: Sub-Command (playerid or range)? - by Konstantinos - 18.12.2016, 19:15
Re: Sub-Command (playerid or range)? - by Duco - 19.12.2016, 09:27
Re: Sub-Command (playerid or range)? - by RayBiH - 19.12.2016, 10:17
Re: Sub-Command (playerid or range)? - by OneDay - 19.12.2016, 10:56

Forum Jump:


Users browsing this thread: 2 Guest(s)