Two things about DCMD
#3

Thanks for the first solution

Okay, about second thing.

I would like to make a command '/give'.
When someone types '/give' it will show him client message "/give [option] [playerid]" (options are something and something else). If he types '/give nothing' he will get client message "Wrong option". If he writes '/give something' he will get client message "/give something [playerid]".

Basically I want to set client message for each parameter filled up. If I use sscanf it will always show "/give [option] [playerid]" until all the parameters are filled up and then it will look further for any if's.
Reply


Messages In This Thread
Two things about DCMD - by Sergei - 07.08.2009, 22:55
Re: Two things about DCMD - by MadeMan - 07.08.2009, 23:11
Re: Two things about DCMD - by Sergei - 07.08.2009, 23:24
Re: Two things about DCMD - by MadeMan - 07.08.2009, 23:28
Re: Two things about DCMD - by Sergei - 07.08.2009, 23:31
Re: Two things about DCMD - by Ez - 08.08.2009, 01:06
Re: Two things about DCMD - by ruarai - 08.08.2009, 01:48
Re: Two things about DCMD - by Sergei - 08.08.2009, 06:34

Forum Jump:


Users browsing this thread: 2 Guest(s)