Jump to content

تصحيح كود


Recommended Posts

الحين انا مسوي انه لم يكتب في اديت مثلا

رقم 7 

راح يكون 7 ايام .. المهم ابيه لم يحدد اسم حساب من الجريد ليست .

ويحط الرقم في الاديت

ويضغط الزر يقوم باعطائه الرتبه لمده 7 ايام

كود التايمر . :

function FunctionTimer ( )
if source == bottuonbuy then 
if isObjectInACLGroup ("LEVEL1")
setTimer ( FunctionTimer, (5*60*1000), 1 )
setTimer ( FunctionTimer, (5*60*1000), 0 ) 
end
end
)

 

Link to comment
Just now, -#GoDa said:

الحين انا مسوي انه لم يكتب في اديت مثلا

رقم 7 

راح يكون 7 ايام .. المهم ابيه لم يحدد اسم حساب من الجريد ليست .

ويحط الرقم في الاديت

ويضغط الزر يقوم باعطائه الرتبه لمده 7 ايام

كود التايمر . :


function FunctionTimer ( )
if source == bottuonbuy then 
if isObjectInACLGroup ("LEVEL1")
setTimer ( FunctionTimer, (5*60*1000), 1 )
setTimer ( FunctionTimer, (5*60*1000), 0 ) 
end
end
)

 

بوص احسن لك لا تبرمج Lua مره اخري :3

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...