Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. addEventHandler("onResourceStart", resourceRoot, function() for _,teams in ipairs(getElementsByType("team")) do if getTeamFriendlyFire(teams) == true then setTeamFriendlyFire(teams, false) end end end )
  2. مافهمت ولا حرف
  3. You,re Welcome .
  4. Ok No Problem Take You,re Time .
  5. Yes You Can Do It =D . Open MtaServer.conf go to line 205-230 here : -- Specifies resources that are loaded when the server starts and/or which are protected from being stopped. To specify several resources, add more parameter(s). --> "admin" startup="1" protected="0" /> "defaultstats" startup="1" protected="0" /> "helpmanager" startup="1" protected="0" /> "RRr" startup="1" protected="0" /> "mapcycler" startup="1" protected="0" /> "mapmanager" startup="1" protected="0" /> "parachute" startup="1" protected="0" /> "resourcebrowser" startup="1" protected="1" default="true" /> "resourcemanager" startup="1" protected="1" /> "scoreboard" startup="1" protected="0" /> "spawnmanager" startup="1" protected="0" /> "voice" startup="1" protected="0" /> "votemanager" startup="1" protected="0" /> -- play is the default freeroam gamemode. Remove the following line to prevent it from starting. --> "play" startup="1" protected="0" /> if u want to add a resource use this code : "resourceName" startup="1" protected="0" /> then restart you,re server and will satrt auto ..
  6. صحيح بس كنت فاهم الموضوع عكس .
  7. كنت اسويه يوم حطيت submit لقيت ردك اكره هذي الحركه تصدق كتبتة كتابة يعني لو كان فية غلط بسيط كان حطيتة انـت قبلي
  8. Nice And Easy 5/5 .
  9. اي اذا كنتوا بـ نفس التيم ماراح يجيكم اي شيء من الضربات ذذ
  10. button = guiCreateButton(....) addEventHandler("onClientGUIClick",root, function () if ( source == button ) then guiSetVisible (Window,false) showCursor(false) end end )
  11. ااخوي برستيج ممكن تسويلي مثال كامل الله لايهينك هذا كافي جرب سوية كذا بدون فنكشن وبيشتغل معك -_-" team = createTeam("تجربة ض1") setTeamFriendlyFire(team,true) سيرفر ذذ
  12. setTeamFriendlyFire(التيم,true)
  13. setTeamFriendlyFire
  14. Have you noticed that object are table not element? @SKIPPER, As Castro said you forgot the Bone ID. Sorry, i was on a hurry .
  15. شوف موضوع احمد في المساهامات ذذ
  16. addCommandHandler
  17. createObject moveObject addCommandHandler
  18. object = {} addEvent("xxx", true) addEventHandler("xxx", root, function() if isElement(object) then destroyElement(object) end local x, y, z = getElementPosition(source) local object = createObject( id, x, y, z ) exports.bone_attach:attachElementToBone(object, source, 0.025, -0.01, 0.815, 0, 0, 180) attachElements(object,source, 0.02, -0.01, 0.815, 0, 0, 180) end ) addEventHandler("onPlayerQuit", root, function() if isElement(object) then destroyElement(object) end end )
  19. تقدر تسوي كوماند كلمة بـ اف 8 ذذ
  20. لا تحتاج لـ اضافة الشخصية اقصد الـ Ped وتسوي الصور .. ذذ
  21. object = {} addEvent("xxx", true) addEventHandler("xxx", root, function(plr) if ( getElementType (plr) == "player" ) then if isElement(object) then destroyElement(object) end local x, y, z = getElementPosition(plr) local object = createObject( model, x, y, z ) attachElements(object,plr, 0.02, -0.01, 0.815, 0, 0, 180) end end ) addEventHandler("onPlayerQuit", root, function() if isElement(object) then destroyElement(object) end end )
  22. createPed
  23. في الكونسول debugscript 3
  24. object = {} addEvent("xxx", true) addEventHandler("xxx", root, function(model) if isElement(object) then destroyElement(object) end local x, y, z = getElementPosition( source ) local object = createObject( model, x, y, z ) exports.bone_attach:attachElementToBone(object, source, 0.025, -0.01, 0.815, 0, 0, 180) attachElements(object, source, 0.02, -0.01, 0.815, 0, 0, 180) end) addEventHandler("onPlayerQuit", root, function() if isElement(object) then destroyElement(object) end end)
×
×
  • Create New...