28.08.2014, 09:08
fixed the old problem, got a new problem
it's print
i printed the variables when the vehicle spawned
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");
}
Код:
[16:04:33] loop trough slots [16:04:33] used slot detected [16:04:33] same name detected
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_