Jump to content

Me[Z]oO

Members
  • Posts

    1,830
  • Joined

  • Last visited

Everything posted by Me[Z]oO

  1. Me[Z]oO

    طلب

    هذا لعبة اسم علي مسمي يطلب مواضيع تافهه ومسوي هالكود الحلو
  2. يا اخي انت ولعبة حاولو تعتمدوا علي حالكم شوي وش بك انت وهو كل يوم 15 موضوع ومحتواهم تافه -,- روح حاول تعتمد علي نفسك شوي
  3. هذا لاني نسخت كود لعبة ذا وعدلت عليه م انتبهت
  4. bindKey("F1","down",function () if removeEventHandler( "onClientRender",root,adham) then removeEventHandler ("onClientRender",root,adham) showCursor(false) else addEventHandler("onClientRender",root,adham) showCursor(true) end end )
  5. X triggerEvent
  6. Me[Z]oO

    :!

    اظن م في فنكشن كذا !
  7. getPlayerCount
  8. ابدعتم والله بالتوفيق يا معلم
  9. --Client function isEventHandlerAdded( sEventName, pElementAttachedTo, func ) if type( sEventName ) == 'string' and isElement( pElementAttachedTo ) and type( func ) == 'function' then local aAttachedFunctions = getEventHandlers( sEventName, pElementAttachedTo ) if type( aAttachedFunctions ) == 'table' and #aAttachedFunctions > 0 then for i, v in ipairs( aAttachedFunctions ) do if v == func then return true end end end end return false end function dx() dxDrawText("Welcome VIP",x,y,x,y,tocolor ( 255, 255, 255, 255 ), 1, "default-bold" ) --x,y,x,y الاحداثيات بدلها end addEvent("DxVisibleTrue",true) addEventHandler("DxVisibleTrue",root, function() if isEventHandlerAdded("onClientRender",root,dx) removeEventHandler("onClientRender",root,dx) else addEventHandler("onClientRender",root,dx) end end) --Server addEventHandler("onPlayerLogin",root, function() local accName = getAccountName ( getPlayerAccount ( source) ) if isObjectInACLGroup ("user."..accName , aclGetGroup ( "VIP" ) ) then -- اسم القروب VIP @@@@@@@@ triggerClientEvent(source,"DxVisibleTrue",source) end end)
  10. Deleted
  11. function isEventHandlerAdded( sEventName, pElementAttachedTo, func ) if type( sEventName ) == 'string' and isElement( pElementAttachedTo ) and type( func ) == 'function' then local aAttachedFunctions = getEventHandlers( sEventName, pElementAttachedTo ) if type( aAttachedFunctions ) == 'table' and #aAttachedFunctions > 0 then for i, v in ipairs( aAttachedFunctions ) do if v == func then return true end end end end return false end bindKey('F1','down', function () if isEventHandlerAdded("onClientRender",root,dxImage) then removeEventHandler("onClientRender", root,dxImage) guiSetVisible(GUIEditor.label[2],false) guiSetVisible(GUIEditor.label[3],false) guiSetVisible(GUIEditor.label[4],false) guiSetVisible(GUIEditor.label[5],false) guiSetVisible(GUIEditor.label[6],false) guiSetVisible(GUIEditor.label[7],false) guiSetVisible(GUIEditor.staticimage[1],false) guiSetVisible(GUIEditor.staticimage[2],false) guiSetVisible(GUIEditor.staticimage[3],false) guiSetVisible(GUIEditor.staticimage[4],false) guiSetVisible(GUIEditor.staticimage[5],false) guiSetVisible(GUIEditor.staticimage[6],false) showCursor(guiGetVisible(false) else addEventHandler("onClientRender",root,dxImage) guiSetVisible(GUIEditor.label[2],not guiGetVisible(GUIEditor.label[2])) guiSetVisible(GUIEditor.label[3],not guiGetVisible(GUIEditor.label[3])) guiSetVisible(GUIEditor.label[4],not guiGetVisible(GUIEditor.label[4])) guiSetVisible(GUIEditor.label[5],not guiGetVisible(GUIEditor.label[5])) guiSetVisible(GUIEditor.label[6],not guiGetVisible(GUIEditor.label[6])) guiSetVisible(GUIEditor.label[7],not guiGetVisible(GUIEditor.label[7])) guiSetVisible(GUIEditor.staticimage[1],not guiGetVisible(GUIEditor.staticimage[1])) guiSetVisible(GUIEditor.staticimage[2],not guiGetVisible(GUIEditor.staticimage[2])) guiSetVisible(GUIEditor.staticimage[3],not guiGetVisible(GUIEditor.staticimage[3])) guiSetVisible(GUIEditor.staticimage[4],not guiGetVisible(GUIEditor.staticimage[4])) guiSetVisible(GUIEditor.staticimage[5],not guiGetVisible(GUIEditor.staticimage[5])) guiSetVisible(GUIEditor.staticimage[6],not guiGetVisible(GUIEditor.staticimage[6])) showCursor(true) end end)
  12. هو بيكلم ايرور ايه الهبل دا
  13. if getElementDimension (element) == 1 then --your code مثل ما قال لك Allawi ولكم بعودتك يا بطل
  14. بالصورة dxDrawText
  15. انا لقيته سوا كذا فـ فهمت طلبه وصلحت له الكود
  16. انا فهمت انه يبي لما احد يتفك ميوته بالقروبات ذي يكنسل الايفنت ذا طلبه !
  17. اظنه حفظ اسم الفنكشن اكثر من اسمه
  18. getTimerDetails
  19. Me[Z]oO

    طلب ..

    Delete
  20. شكرا م انتبهت لها رمضان كريم ,
  21. Groups = { "Level 2", "Level 3", "Level 4", "Level 5", } addEventHandler ( "onPlayerUnmute", root, function() local account = getAccountName ( getPlayerAccount ( source ) ) for i,g in ipairs (Groups) do if isObjectInACLGroup ( "user." ..account , aclGetGroup ( g ) ) then cancelEvent() break end end end )
×
×
  • Create New...