strcmp problem. [Unsolved]
#3

As it appears from your screenshots VehicleData[i][vPlate] is empty, and in that case strcmp will return 0. Try changing your statement to:
pawn Код:
if(!isnull(VehicleData[i][vPlate]) && strcmp(VehicleData[i][vPlate], inputtext, true) == 0)
Reply


Messages In This Thread
strcmp problem. [Unsolved] - by TheCoopster - 31.12.2014, 15:50
Re: strcmp problem. [Unsolved] - by TheCoopster - 31.12.2014, 16:24
Re: strcmp problem. [Unsolved] - by Vince - 31.12.2014, 16:47
Re: strcmp problem. [Unsolved] - by TheCoopster - 31.12.2014, 19:18

Forum Jump:


Users browsing this thread: 1 Guest(s)