strcmp false detection
#10

fixed the old problem, got a new problem

pawn Код:
//still inside the loop
if(!strcmp(pName(playerid), vInfo[d][Name], false))
                    {
                        printf("same name detected");
                        format(temp, sizeof(temp), "%s\n", vehName[vInfo[d][vModel] - 400]);
                        printf("formatting success");
                        strcat(str, temp);
                        printf("strcat success");
                    }
it's print
Код:
[16:04:33] loop trough slots
[16:04:33] used slot detected
[16:04:33] same name detected
i printed the variables when the vehicle spawned

pawn Код:
printf("%d:> %d (%s) || %s",Id, vInfo[Id][vModel], vehName[vInfo[Id][vModel] - 400], vInfo[Id][Name]);
Код:
[16:03:46] 549:> 411 (Infernus) || AiRa_
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: 1 Guest(s)