[HELP]In Making a Color system that Uses Y_Ini
#3

I can't understand the Y_INI, but you need to use this, I think.

Code:
new playercolor; //variable for store the player's color
INI_WriteHex(filename[], "color", GetPlayerColor(playerid)); //to write the color.. You need to use SetPlayerColor, before get the players color with this function
INI_Hex("color", playercolor); //to read the color from file
SetPlayerColor(playerid, playercolor); //to set the player's color back.
I think, its work.
Reply


Messages In This Thread
[HELP]In Making a Color system that Uses Y_Ini - by Phyrunx - 14.04.2012, 18:31
Re: [HELP]In Making a Color system that Uses Y_Ini - by Phyrunx - 15.04.2012, 04:58
Re: [HELP]In Making a Color system that Uses Y_Ini - by NeTuddMeg - 15.04.2012, 07:29
Re: [HELP]In Making a Color system that Uses Y_Ini - by Joe Staff - 15.04.2012, 07:31
Re: [HELP]In Making a Color system that Uses Y_Ini - by Phyrunx - 15.04.2012, 07:54

Forum Jump:


Users browsing this thread: 1 Guest(s)