29.07.2010, 22:33
I was looking at this forever, and i see whats wrong. LOL
This should be:
strcmp is looking for a string, and cmd[] isn't a string yet....so use cmdtext.
pawn Код:
if(strcmp(cmd,"/teleports",true)==0)
pawn Код:
if(strcmp(cmdtext,"/teleports",true)==0)//note the "cmd" changed to "cmdtext"