Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. -- Client Side -- addEventHandler("onClientPlayerDamage",getLocalPlayer(), function ( ) if ( getElementData( getLocalPlayer(),"GroupLeader" ) == true ) then cancelEvent( true ) end end ) سويت لة الكود بمآ آنة الداتا صعبة والخ بـ ينلحس شوي خصوصا المود مآهو لة <>
  2. تعرف داتا شيء ؟ تتحقق منة؟
  3. انا قلت لكـ اذا الحسابات بسيطة حسبتها اذا طويلة او او اي سبب يمنع التفكير السريع تستخدم طريقة آحدث <>
  4. فية طرق تحسب فيها حاسبة جوجل .. الخ
  5. الرياضيآت من آفشل الموآد عندي <>
  6. ذذ كل وآحد وآللي يريحة .. حياكـ الله
  7. هو يآخذ اللي يريحة الارقام البسيطة تنحسب بـ سهولة بس لو تبي ساعتين؟ تقدر تحسبها بسرعه؟
  8. ي طويل العمر لا تتعب نفسكـ رح لـ قوقل واكتب : convert 3 minutes milliseconds ----------------------------------- convert 20 minutes milliseconds
  9. But why the Forum "VB" if it has a human verification code "CAPTCHA" there's no SPAM, but if there's no "CAPTCHA" code the forum will have a spams post topics .
  10. اي اذا مسوي الشرط بيكون للزر بس مآهو للوحة آو الالمنت كامل <>
  11. أما عاد وليه الترآيقر؟؟ ترا الكود كلنت, + باين ان صاحب الموضوع ما عرف يسويه, addEventHandler("onClientGUIClick",root, function() if ( source == Image ) then setElementPosition(localPlayer,x,y,z) end end,false) اذا مسوي شرط مآله دآعي الـ false!
  12. addEventHandler("onVehicleDamage", getRootElement(), function ( ) if source ~= MyVehicle then return end if not getElementData(source,"Car") == true then return end local thePlayer = getVehicleOccupant(source) if(thePlayer) then if (getPlayerMoney (thePlayer) >= 5000) then takePlayerMoney(thePlayer, 5000) end end end )
  13. addEventHandler("onClientResourceStart",resourceRoot, -- حدث التشغيل function ( ) -- وظيفة local XMLFile = xmlCreateFile ( "Save.xml", "XML" ) -- انشاء ملف local CreateChild = xmlCreateChild(XMLFile, "XML") -- انشاء تشيلد xmlSaveFile ( XMLFile ) -- حفظ الملف outputChatBox("* تم انشاء الملف") end ) addEventHandler("onClientGUIClick",button, -- حدث الضغط بـ متغير الزر function ( ) local XMLFile = xmlLoadFile ( "Save.xml" ) -- تحميل الملف if ( XMLFile ) then -- تحقق local Child = xmlFindChild ( XMLFile, "XML", 0 ) -- يجيب التشيلد local Name = getPlayerName ( localPlayer ) -- يجيب اسم الاعب xmlNodeSetAttribute ( Child,"Name",Name ) -- يحطة بالملف بالتشيلد الي سويناه xmlSaveFile ( XMLFile ) -- يحفظة xmlUnloadFile ( XMLFile ) -- يسوي ان لود للملف outputChatBox("* تم الحفظ") end end,false )
  14. setTimer(guiSetVisible,120000,1,forlock,false)
  15. addEventHandler("onVehicleDamage", getRootElement(), function ( ) if source ~= MyVehicle then return end if not getElementData(source,"Car") == true then return end local thePlayer = getVehicleOccupant(source) if(thePlayer) then if (getPlayerMoney (thePlayer) >= 5000) then takePlayerMoney(thePlayer, 5000) end end )
  16. شوف وظائفي وسوي الداتا للسيارهـ <>
  17. iPrestege

    helppp!!!

    There's no need to check it here [player] source .. etc on the loop .
  18. setElementData if getElementData ..
  19. What about make a 'CAPTCHA' code on register page i think it's a good idea .
  20. https://forum.multitheftauto.com/viewtopic.php?f=131&t=30756 Check it.
  21. iPrestege

    question

    onClientRender DxDrawText getPlayerMoney ?
  22. الصراحة عطينآكـ من آبسط الامثلة و آوضحها وضحتة بـ آكثر مآيمكن من المستحيل نقول مآفهمتة ! و الفنكشن واضح من عنوانة !
×
×
  • Create New...