ERAGON007 Posted April 17, 2020 Share Posted April 17, 2020 Hey There Guys , I'm New To Developing With Lua so i Need Your Help Guys , i Want To Make A Resource For My Mafias Wars , The Winner Will Get The Turf I Tried To Make A Timer And Check The Wars Time Every 5 Seconds But I Think There Must Be A Better Way the getRealTime() Returns Me A Table That Contains The Hour But It's 0-12 Hours , How Can i Find Out There is AM Or PM ? And I Need To Update The Scores For Every Player In War ( the Attacker Team , Defender Team And Players Own Score) Please Help Me Thanx Link to comment
Addlibs Posted April 17, 2020 Share Posted April 17, 2020 4 hours ago, ERAGON007 said: the getRealTime() Returns Me A Table That Contains The Hour But It's 0-12 Hours , How Can i Find Out There is AM Or PM ? getRealTime returns the hour in 24-hour format, from 0 to 23 Link to comment
ERAGON007 Posted April 17, 2020 Author Share Posted April 17, 2020 3 hours ago, Addlibs said: getRealTime returns the hour in 24-hour format, from 0 to 23 No Dude , Its Returning 0-12 Format I Use Jalali/Georgian Calendar And Time And How Can I Sync The War Scores Such as PlayerScore , Attacker Score and Defender Score To War Fighters? I Should use setTimer() or Theres A Better Way To do It? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now