String and number compare.
#1

Hi. How to compare String and number? i have variable like this:

Code:
new NUMBER;
How to check if player text is same like this variable? I mean OnPlayerText.

I try:

Code:
if(!strcmp(text,NUMBER,true))
{
But i get errors.
Reply


Messages In This Thread
String and number compare. - by budelis - 30.08.2012, 09:01
Re: String and number compare. - by Emmet_ - 30.08.2012, 09:03
Re: String and number compare. - by leonardo1434 - 30.08.2012, 09:32
Re: String and number compare. - by budelis - 30.08.2012, 10:06
Re: String and number compare. - by leonardo1434 - 30.08.2012, 10:15
Re: String and number compare. - by budelis - 30.08.2012, 10:53

Forum Jump:


Users browsing this thread: 1 Guest(s)