SA-MP Forums Archive
Leveling Up After a Certain Play Time - 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: Leveling Up After a Certain Play Time (/showthread.php?tid=127758)



Leveling Up After a Certain Play Time - owner jacob - 14.02.2010

is there a way or a tutorial on how to make you like level up to level 1 after 1 hour? level 2 after 2 hours....etc.... thnx! =D


Re: Leveling Up After a Certain Play Time - owner jacob - 14.02.2010

anyone?


Re: Leveling Up After a Certain Play Time - owner jacob - 15.02.2010

really need it plz....


Re: Leveling Up After a Certain Play Time - [HiC]TheKiller - 15.02.2010

Just make a player time variable and use Dini.


Re: Leveling Up After a Certain Play Time - owner jacob - 15.02.2010

whats this Dini? like a person what? im confused when people tell me that cause i dont know whathe/she or it is lol


Re: Leveling Up After a Certain Play Time - mansonh - 15.02.2010

Search for a dini tutorial or read the samp basics of it
https://sampwiki.blast.hk/wiki/Useful_Fu....28Dini.inc.29

Then have a variable for player play time.
new playerplaytime[MAX_PLAYERS];

When someone joins your server load their info from dini.
And ever say minute or so update a players playtime.
https://sampwiki.blast.hk/wiki/SetTimerEx
https://sampwiki.blast.hk/wiki/Gettime or https://sampwiki.blast.hk/wiki/Tickcount