• Print

Author Topic: DarkRP Groups Promotion (Mr.President Megiddo, Stickly Or Who know )  (Read 5241 times)

0 Members and 1 Guest are viewing this topic.

Offline Schiaffino

  • Jr. Member
  • **
  • Posts: 88
  • Karma: 1
Hi well , i was thinking about something that do not User the ( UTime Timer.. to detect the time on of the user )

I Want to know if there exist a function to detect how much the player was on on the server lik ethe

Total Time On ( on the server )

and make something like

( if the function is TotalTIme ) make something like

Code: Lua
  1.  
  2. function groupSet( ply )
  3.         local plhrs = ((ply:GetTotalTime))
  4.  If ply:GetTotalTime > 1 ( hours played ) and ply:IsUserGroup("user")
  5.  then ply:UserGroup("Member")
  6. end
  7. end
  8.  

( I DONT KNOW ANYTHING OF LUA SCRIPTING

i dont know if you understand like the IDEA.

Or if there is a way to remake the APromote 3.1

Thanks Ulysses Team For Your Help & Time !

ATTE: Schiaffino !

  • Print