Jump to content

Making A Mafia's War System


ERAGON007

Recommended Posts

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 :D

Link to comment
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...