SA-MP Forums Archive
how to use dini save online player numbers every second - 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: how to use dini save online player numbers every second (/showthread.php?tid=473459)



how to use dini save online player numbers every second - Chrisli520 - 02.11.2013

i had try these code before ↓

Код:
new string[128];
new dinistring[128];
new on‌lineplayers = GetMaxPlayers();
format(string,128,"%d",onlineplayers);
format(dinistring,128,"LSRP/onlines/op.ini");
dini_IntSet(dinistring, "onlines", onlineplayers);
this cann't compile, there were some error,can some one fix it?