strcmp false detection
#1

hi all...

i got a problem while making my dealership system

when i loop trough all vehicle, i compare the vehicle owner's name. but, when the name are the same with my nickname, it's detected as different name :/

pawn Код:
// inside of loop
                if(!strcmp(pName(playerid), vInfo[SavedVeh[d]][Name], false))
                {
                    printf("%s",vInfo[SavedVeh[d]][Name]);
                    continue;
                }
it's print a blank value, but i can see my nickname there.

i meant like this

Quote:
Originally Posted by samp.exe
blank
blank
blank

AiRa_
blank
blank
blank
blank
Reply


Messages In This Thread
strcmp false detection - by AiRaLoKa - 27.08.2014, 22:50
Re: strcmp false detection - by redist - 27.08.2014, 23:00
Re: strcmp false detection - by Sarra - 27.08.2014, 23:07
Re: strcmp false detection - by redist - 27.08.2014, 23:09
Re: strcmp false detection - by AiRaLoKa - 28.08.2014, 07:33
Re: strcmp false detection - by cosbraa - 28.08.2014, 07:42
Re: strcmp false detection - by AiRaLoKa - 28.08.2014, 08:11
Re: strcmp false detection - by Dotayuri - 28.08.2014, 08:39
Re: strcmp false detection - by jihadmeneer - 28.08.2014, 08:51
Re: strcmp false detection - by AiRaLoKa - 28.08.2014, 09:08

Forum Jump:


Users browsing this thread: 2 Guest(s)