error 035: argument type mismatch (argument 1)
#1

I'm using sscanf for this code but also strcmp to ask what action they inputted, e.g.:

pawn Код:
if(strcmp(action, "put") == 0)
That's where I get the error. Along with other codes, but are just different actions.
Reply
#2

Make sure that the variable action is a string.
Reply
#3

Oh, I think I had new action; not new action[128];

Oopsy.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)