saving
#1

ok i have a question about saving

is there a way to save the player's color and skin so when he reconnects he get the same color or skin
plz give me a link for tutorial or tell me how to do it
________
Body science
Reply
#2

Use dINI/dUDB system or DJson or any other you like (there are "How to use" tutorials in their topics). You'll just need to use GetPlayerColor function to get the player color and GetPlayerSkin to get the player skin.
Note that you'll need to set player's color before you use GetPlayerColor.
Reply
#3

i have a system that could be adapted for that. It stores the colour id to a variable like this

new varname[MAX_PLAYERS];
varname[playerid] = getplayercolour(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)