SetPlayerColour loading variable problem
#7

Thanks for the help. Still, it doesn't work.

Now the playericon appears as
Код:
pIconColour=92247295
In the player's file.

On load char;

pawn Код:
format(PlayerInfo[playerid][pIconColour], 15, "%d", dini_Get(file, "pIconColour"));
SetPlayerColor(playerid, PlayerInfo[playerid][pIconColour]);
On saving;

pawn Код:
dini_IntSet(file, "pIconColour", PlayerInfo[playerid][pIconColour]);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)