array must be indexed, variable "kind"
#1

solved
Reply
#2

Use strcmp for comparing strings.
Reply
#3

I can't use strcmp, I just don't understand it.
Reply
#4

You have already used it.

pawn Код:
else if(!strcmp(x_imp,"neon",true))
Btw; this makes no sence, you are converting the string to an integer then "comparing" it as a textstring again.
pawn Код:
new kind[24] = strval(tmp);
if(kind == "green")
Reply
#5

ty i used strcmp and succeed!
thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)