Posts: 601
Threads: 74
Joined: Sep 2009
Reputation:
0
how to check for a character in a if statement without doing strcmp/strfind
Posts: 6,129
Threads: 36
Joined: Jan 2009
If you're just checking for one single character/letter in a variable/array:
For arrays:
Posts: 601
Threads: 74
Joined: Sep 2009
Reputation:
0
if(text[0] == 'A')
if i do that in OnPlayerText callback it seems not to work..
any ideas why?