07.11.2012, 12:01
You can't compare 2 strings like that.
And PrawkC is talking about when you tried
Use format(output[], len, const format[], {Float,_}:...) to store the players name into the STRINGVARIABLE.
EG:
And PrawkC is talking about when you tried
pawn Код:
VehicleCheck[vehicleid][STRINGVARIABLE] = GetPlayerName(playerid, pName, MAX_PLAYER_NAME)
EG:
pawn Код:
format(VehicleCheck[vehicleid][STRINGVARIABLE], MAX_PLAYER_NAME, "%s", GetPlayerName(playerid, pName, MAX_PLAYER_NAME));