comparing strings
#1

Im trying to compare if 2 things are the same, but it doesnt work. I used:
pawn Код:
if(strcmp(PlayerInfo[playerid][pCarKey2],PlayerInfo[playerid][pCarSel]))
And it doesnt matter if they = each other or not, it will go thorugh like they do.
Reply


Messages In This Thread
comparing strings - by HondaCBR - 02.01.2012, 13:47
AW: comparing strings - by BigETI - 02.01.2012, 13:58
Re: comparing strings - by HondaCBR - 02.01.2012, 14:15

Forum Jump:


Users browsing this thread: 1 Guest(s)