PDA

View Full Version : save color


Fernado Samuel
21/03/2013, 09:32 PM
Removed

Joshman543
21/03/2013, 09:42 PM
Create a new function like:

Color[playerid]
And add SetPlayerColor(playerid, Color[playerid]); to OnPlayerConnect

Fernado Samuel
21/03/2013, 09:52 PM
Removede?

Konstantinos
21/03/2013, 09:56 PM
In OnPlayerDisconnect callback, get player's color

GetPlayerColor(playerid)

and save it to your already existed register/login system. In OnPlayerConnect callback, let them login and then

SetPlayerColor(playerid, load_the_color_and_set_it);


PS: I never had problems like resetting my color on player's death.