Command in strcmp
#3

1. "params" is not defined in a strcmp-command like that.
2. don't get the name of the target player before you have parsed it using sscanf
3. don't get the admin's name before you actually need to use it
4. you're probably showing the textdraw for the wrong player - show it to targetid instead?
5. use a command parser like zcmd, which is faster and has "params" defined for you
Reply


Messages In This Thread
Command in strcmp - by boyan96 - 23.04.2012, 18:26
Re: Command in strcmp - by .FuneraL. - 23.04.2012, 18:50
Re: Command in strcmp - by AndreT - 23.04.2012, 18:55
Re: Command in strcmp - by xx360 - 23.04.2012, 19:20

Forum Jump:


Users browsing this thread: 1 Guest(s)