Help| how i do it - 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: Help| how i do it (
/showthread.php?tid=271084)
Help| how i do it -
NeyMar96 - 22.07.2011
How do I change this code to Y_ini?:
PHP код:
dini_IntSet(MAIN,"Users",dini_Int(MAIN,"Users")+1);
AW: Help| how i do it -
Nero_3D - 22.07.2011
Welcome, it should look like that
pawn Код:
INI_ParseFile(MAIN, "LoadUsers");
new
INI: ini = INI_Open(MAIN);
INI_WriteInt(ini, "Users", gInteger + 1);
INI_Close(ini);
pawn Код:
forward LoadUsers(name[], value[]);
public LoadUsers(name[], value[]) {
INI_Int("Users", gInteger);
}
Maybe read the tutoiral again
How to use y_ini
Re: Help| how i do it -
NeyMar96 - 22.07.2011
Thank!