22.11.2010, 19:30
i don't know if this will work, but you should try this:
This line basically will return 0 if those two strings are the same
and take a look what it prints
Код:
if(strcmp(CarSystem[GetClosestVehicle(playerid,5)][Carowner], pName(playerid), true) == 0)
and take a look what it prints
Код:
printf(" Car owner: %s Player Name: %s", CarSystem[GetClosestVehicle(playerid,5)][Carowner], pName(playerid));