Allowing different parameters with zcmd: it can has problem.
#4

Quote:
Originally Posted by kc
Also your way of structuring the code seems a bit odd to me, with an if statement that is true displaying an error message.
That's because sscanf returns 0 if the statement is true and -1 if the statement is false if I remember correctly. I'll try your code

EDIT: Doesn't work, it gives me an unknown command error if I use it with parameters and if I just use "/requestcar" nothing happens, which was exactly what the code did before.
Reply


Messages In This Thread
Allowing different parameters with zcmd: it can has problem. - by biltong - 07.04.2010, 09:43
Re: Allowing different parameters with zcmd: it can has problem. - by cessil - 07.04.2010, 09:56
Re: Allowing different parameters with zcmd: it can has problem. - by kc - 07.04.2010, 10:03
Re: Allowing different parameters with zcmd: it can has problem. - by biltong - 07.04.2010, 10:48

Forum Jump:


Users browsing this thread: 1 Guest(s)