How to make a player color saving system? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make a player color saving system? (
/showthread.php?tid=267441)
How to make a player color saving system? -
ServerRestart - 08.07.2011
Example,
Player types /colorbuy
Load off color's show up in a menu e,g red, blue ,cyan
And when player clicks the color it says , are you sure you want to buy this color for 1 mil. yes / no
Can anyone tell me how to make this and so it save's for lifetime, unless player types /removecolor,
Thanks!
Re: How to make a player color saving system? -
Vince - 08.07.2011
Save it as integer with whatever saving system you're using.
Re: How to make a player color saving system? -
ServerRestart - 08.07.2011
Thanks.