SA-MP Forums Archive
Help with teams.ini - 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 with teams.ini (/showthread.php?tid=455008)



Help with teams.ini - arjanforgames - 31.07.2013

How can I save a team's cash in an .ini file?
I need the .ini file to be like:
___DATA_____
America = 0
Holland = 0
England = 0
Russia = 0
Australia = 0

How do I create the part of: for players used "PlayerInfo"
So I can do like: TeamInfo["dont know what here"][america] ++;
So if you can please make a short tutorial on how to make this instead of register + login, but with teams.


Re: Help with teams.ini - Facerafter - 31.07.2013

What filewriting include are you using?


Re: Help with teams.ini - arjanforgames - 31.07.2013

Im using y_ini. (Sorry forgot to mention)