What's wrong with this command?
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
If two strings are equal, then strcmp will return 0. It should be:
pawn Код:
if(!strcmp(NewClass, "Taxi", false, sizeof(NewClass)))
pawn Код:
else if(!strcmp(NewClass, "... class_name_here ...", false, sizeof(NewClass)))
Grazie
Reply


Messages In This Thread
What's wrong with this command? - by austin070 - 26.01.2014, 15:30
Re: What's wrong with this command? - by Sawalha - 26.01.2014, 15:42
Re : What's wrong with this command? - by MCZOFT - 26.01.2014, 15:44
Re: What's wrong with this command? - by Konstantinos - 26.01.2014, 15:45
Re: Re : What's wrong with this command? - by austin070 - 26.01.2014, 15:47
Re: What's wrong with this command? - by austin070 - 26.01.2014, 15:53

Forum Jump:


Users browsing this thread: 1 Guest(s)