07.01.2013, 20:43
strcmp returns 0 if the strings are the same, so:
Becomes
pawn Код:
if(VehicleInfo[Vehicleid][owned] == true && strcmp(VehicleInfo[Vehicleid][owner], PlayerName(playerid), true))
pawn Код:
if(VehicleInfo[Vehicleid][owned] == true && strcmp(VehicleInfo[Vehicleid][owner], PlayerName(playerid), true) == false)