strcmp problem. [Unsolved]
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
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)
Oh okay that seems like it should work. Thanks for the help Vince. I'll give it a go.
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)