My /job command problem
#5

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
Forgot a bracket, fixed.

By default, 'params' contains the value of what the person types in the command, there's no point extracting what the player typed in to an entirely new string via sscanf if you know that you only have one value to consider, in the 'params' string.
Thanks a lot Calg00ne, i just replaced
this
Код:
 if(sscanf(params,"s[4]", option))
with
Код:
if(isnull(params))
and
the option variable with params. its now working.
Reply


Messages In This Thread
My /job command problem - by Soumi - 03.08.2011, 21:52
Re: My /job command problem - by Calgon - 03.08.2011, 22:40
Re : My /job command problem - by Soumi - 03.08.2011, 22:49
Re: My /job command problem - by Calgon - 03.08.2011, 22:52
Re : Re: My /job command problem - by Soumi - 03.08.2011, 22:56

Forum Jump:


Users browsing this thread: 2 Guest(s)