[HELP] Player's Color Saved +REP1 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] Player's Color Saved +REP1 (
/showthread.php?tid=504577)
[HELP] Player's Color Saved +REP1 -
VenomMancer - 05.04.2014
Help me guys, how to make Player's Color saved with using DINI?
#Sorryformybadenglish
Re: [HELP] Player's Color Saved +REP1 -
LocMax - 05.04.2014
Well save it the same way you save player's name, just use GetPlayerColor(playerid) instead of GetPlayerName(playerid)..
Re: [HELP] Player's Color Saved +REP1 -
Flake. - 05.04.2014
First off make the player colour command
pawn Код:
CMD:yourcolorcommand(playerid, params[])
{
SetPlayerColor(playerid, 2);
dini_Set(file, "Colour", GetPlayerColor(playerid));
return 1;
}
Then when they connect fetch the colour from the file and SetPlayerColor (Make sure you make enum's to save all the data.
Re: [HELP] Player's Color Saved +REP1 -
VenomMancer - 09.04.2014
What the Dini_Set Functions ?
Re: [HELP] Player's Color Saved +REP1 -
xVIP3Rx - 09.04.2014
Here's the full explanation about dini functions:
here
Also a tutorial to help you
here
In your case you should use dini_IntSet and dini_Int to fetch it, I could make the script for you if you can't do it.
Re: [HELP] Player's Color Saved +REP1 -
Hitman-97- - 09.04.2014
Quote:
Originally Posted by VenomMancer
What the Dini_Set Functions ?
|
Basically, it is the system that saves stuff
Re: [HELP] Player's Color Saved +REP1 -
VenomMancer - 28.04.2014
Quote:
Originally Posted by xVIP3Rx
Here's the full explanation about dini functions: here
Also a tutorial to help you here
In your case you should use dini_IntSet and dini_Int to fetch it, I could make the script for you if you can't do it.
|
Please make me ones

and i will give u 1+ rep
Re: [HELP] Player's Color Saved +REP1 -
VenomMancer - 01.05.2014
help me guys for make color saved system
Re: [HELP] Player's Color Saved +REP1 -
XK - 01.05.2014
easy to make,but tell me,what is the use of the color saving thing?what do you want it for?so i will let it do the thing you want it for.
Re: [HELP] Player's Color Saved +REP1 -
VenomMancer - 06.05.2014
i dont understand ..
i just want, someone can make me color saved (Dini)!