SA-MP Forums Archive
Help with leveling 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)
+--- Thread: Help with leveling system (/showthread.php?tid=422640)



Help with leveling system - Colossus874 - 14.03.2013

Hello, I would like to create a level system with a timer that is repeated every second using y_timers. What is the smartest and what works best? Calling a timer OnGameModeInit and when the player connects the player starts receiving level every 100 seconds for example or calling a new timer as each player connects to the server? If I use the first one I guess I have to use a for loop or foreach to add to a players level variable.
Could anyone explain this a bit more just briefly?