Indexed error?
#5

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


Messages In This Thread
Indexed error? - by WillyP - 29.07.2010, 20:37
Re: Indexed error? - by ScottCFR - 29.07.2010, 20:44
Re: Indexed error? - by WillyP - 29.07.2010, 22:06
Re: Indexed error? - by WillyP - 29.07.2010, 22:28
Re: Indexed error? - by mastasquizy - 29.07.2010, 22:33
Re: Indexed error? - by WillyP - 29.07.2010, 22:34

Forum Jump:


Users browsing this thread: 1 Guest(s)