Command Problem
#2

Are the coords not in the right order? And take off the length part on strcmp. They are all wrong and you don't need them anyway unless you were doing like params or something.

pawn Код:
if (strcmp(cmdtext, "/exitmotel", true, 5) == 0)
Should be.

pawn Код:
if (strcmp(cmdtext, "/exitmotel", true) == 0)
Reply


Messages In This Thread
Command Problem - by FrazZ - 06.04.2009, 19:48
Re: Command Problem - by Backwardsman97 - 06.04.2009, 20:26
Re: Command Problem - by FrazZ - 06.04.2009, 20:49

Forum Jump:


Users browsing this thread: 1 Guest(s)