Little strcmp problem
#2

strcmp returns 0 when the strings match. So you need to edit your code accordingly, for example:

pawn Код:
if(!strcmp(VehicleInfo[vehicleid][vOwner], PlayerInfo[playerid][pName], false))
Reply


Messages In This Thread
Little strcmp problem - by Gforcez - 20.03.2011, 15:44
Re: Little strcmp problem - by JaTochNietDan - 20.03.2011, 15:49
Re: Little strcmp problem - by ricardo178 - 20.03.2011, 15:51
Re: Little strcmp problem - by Gforcez - 20.03.2011, 16:06
Re: Little strcmp problem - by Mike Garber - 20.03.2011, 16:27
Re: Little strcmp problem - by admantis - 20.03.2011, 16:49
Re: Little strcmp problem - by maramizo - 20.03.2011, 17:05
Re: Little strcmp problem - by Mike Garber - 20.03.2011, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)