Enums and Strings
#5

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

EG:
pawn Код:
format(VehicleCheck[vehicleid][STRINGVARIABLE], MAX_PLAYER_NAME, "%s", GetPlayerName(playerid, pName, MAX_PLAYER_NAME));
Reply


Messages In This Thread
Enums and Strings - by adsy - 07.11.2012, 11:13
Re: Enums and Strings - by cosbraa - 07.11.2012, 11:25
Re: Enums and Strings - by PrawkC - 07.11.2012, 11:56
Re: Enums and Strings - by adsy - 07.11.2012, 11:59
Re: Enums and Strings - by cosbraa - 07.11.2012, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)