</Mr.Tn6eL> Posted January 31, 2014 Posted January 31, 2014 السلام عليكم اليوم واجهت مشكلة بمود الترقيات والمشكلة اللي رتبة انسحببت امديه يرجعها من المود ابي اللي يكون admin-ex مايرقي نفسه من مود الترقيات المشكلة الثانية انه اذ كان شرطي ورقى نفسه مشرف التاج حق الشرطي ميجي ذا الكود حق برستج xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox(" * يجب عليك التسجيل اولاَ",source,255,0,0,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("** لديك هذهـ الرتبة فعـلا ! ",source,255,0,0,true); end local sValue = getElementData( source,'Time' ) if not sValue then sValue = '0:0:0' end local data = split(sValue,':') local hour = tonumber( data[1] ) if hour == nil or not tonumber(hour) then hour = 0 end if ( hour >= tonumber(Price)) then aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("** تم اضافة الرتبة بنجاح | "..Name,source,0,255,0,true); else outputChatBox("**ليس لديك ساعات كافية",source,255,0,0,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_) ابي اللي رتبته مسحوبه مايرقي نفسه واللي يرقي نفسه يجي التاج حق الرتبة اللي رقاه نفسه skype : 011101000110111000110110011001010110110000110000001110010011000000111001
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