Leveling Up After a Certain Play Time
#1

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
Reply
#2

anyone?
Reply
#3

really need it plz....
Reply
#4

Just make a player time variable and use Dini.
Reply
#5

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

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
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)