Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. hitPlayer = localPlayer localPlayer ClientOnly use getElementType "player"
  2. Maybe like this will be easy? client side : local marker = createMarker ( x,y,z, "cylinder", size,r,g,b, 170 ) addEventHandler ( "onClientMarkerHit", marker, function ( player ) if ( player == localPlayer ) then guiSetVisible ( window, true ) showCursor ( true ) end end ) Replace : x,y,z = You're Position To Create The Marker Window = You're Window Just That Have Fun Any Thing Just Ask Mr.Pres[T]ege .......
  3. -- make new line (21) in s_main.lua
  4. This script make no sense at all .
  5. مآعمري جربت أسوي مآب #, بس تقدر تسوي ماركر بـ كود createMarker كذا : local marker = createMarker ( x,y,z, "cylinder", 2, 255, 0, 0, 255 ) ملف lua مع ميتا كلنت أو سيرفر وملف zip أو مجلد وأرفعه للروم والماركر مايسوي شيء بس شكل وبدل x,y,z بـ الاحداثيات اللي تبي يسوي فيها الماركر وبسس #, بالنسبة للبيت يطلع كذا : local marker = createMarker ( x,y,z, "cylinder", 2, 255, 0, 0, 255 ) -- نسوي الماركر addEventHandler("onMarkerHit",marker, function (player) -- بداية الوظيفة if (getElementType(player) == "player") then -- تعريف الاعب setElementInterior ( player, id ) -- الانتيرور للبيت setElementDimension (player,id) -- العالم الوهمي setElementPosition(player,x,y,z) -- الاحداثيات داخل البيت outputChatBox("Entered To Your House Successfully!",player,255,255,0,true) -- مخرج نص بـ الشات end -- اغلاق تعريف الاعب end -- اغلاق الوظيفة ) -- اغلاق الايفنت
  6. Required Arguments thePlayer: The player whose camera is to be changed. positionX: The x coordinate of the camera's position. positionY: The y coordinate of the camera's position. positionZ: The z coordinate of the camera's position.
  7. هذا السكربت مآلي ماهو حق بيوت ذذ هذا يسوي ماركر ويوم تلمسة يعطيك مواتر وبسس تبي تسوي ماركر يوديك لـ بيت مثل كذا : local marker = createMarker ( x,y,z, "cylinder", 2, 255, 0, 0, 255 ) -- نسوي الماركر addEventHandler("onMarkerHit",marker, function (player) -- بداية الوظيفة if (getElementType(player) == "player") then -- تعريف الاعب setElementInterior ( player, 8 ) -- الانتيرور للبيت setElementDimension (player,0) -- العالم الوهمي setElementPosition(player,x,y,z) -- الاحداثيات داخل البيت outputChatBox("Entered To Your House Successfully!",player,255,255,0,true) -- مخرج نص بـ الشات end -- اغلاق تعريف الاعب end -- اغلاق الوظيفة ) -- اغلاق الايفنت
  8. + انا نسيت الـ setElementPosition عشان يروح داخل المكان عدلتها وضفتها ذذ #,
  9. createMarker setElementInterior setElementDimension setElementPosition "onMarkerHit"
  10. هذا كلام الزر ذذ
  11. The msg it will show only if you're trying to enter the vehicle and you aren't on swat skin or staff skin and what you mean with that you say you just want staff and swat skin can enter the vehicle right? 427
  12. https://community.multitheftauto.com/index.php?p=resources&s=details&id=1844 This will be fine for you ( =
  13. addEventHandler( "onVehicleStartEnter", root, function ( enteringPlayer ) local skin = getElementModel ( enteringPlayer ) if ( getElementModel ( source ) == 427 ) and not ( skin == 285 or skin == 217 ) then cancelEvent( ) outputChatBox("You Are Not Part Of The SWAT Team To Enter This Vehicle",enteringPlayer,255,0,0,true) end end )
  14. جرب ذاك اللي فوق وحط نافذتك وأن شاء الله يضبط ذذ
  15. وش قصدك؟ ذا نافذهـ عنوان نافذهـ اللي انت مسوية ذذ
  16. الله يصلحك ذا مو لبل ذي نافذهـ كذا : setTimer(function() guiSetProperty(النافذهـ, "CaptionColour", string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 250, 0)
  17. https://community.multitheftauto.com/index.php?p=resources&s=details&id=5844 Maybe help you
×
×
  • Create New...