Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. كودي فيه خطأ يا برستيج ؟؟
  2. myGate1 = createObject ( 2990, 213.69999694824, 1875.9000244141, 13, 0, 0, 180 ) theMarker = createMarker ( 213.69999694824, 1875.9000244141, 13, "cylinder", 8, 0, 0, 0, 0 ) function openMyGate ( player ) local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 8 ) elseif isObjectInACLGroup("user."..accName, aclGetGroup("Admin")) then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 8 ) end end addEventHandler ( "onMarkerHit", theMarker, openMyGate, false ) function closeMyGate ( player ) local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 13 ) elseif isObjectInACLGroup("user."..accName, aclGetGroup("Admin")) then moveObject ( myGate1, 700, 213.69999694824, 1875.9000244141, 13 ) end end addEventHandler ( "onMarkerLeave", theMarker, closeMyGate, false )
  3. تفضل marker = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then setElementPosition( player, X, Y, Z ) destroyElement( marker ) marker2 = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) end end ) 1 --> X, Y, Z = إحداثيات الماركر 6 --> X, Y, Z = المكان إلي بينقلك عليه الماركر 8 --> X, Y, Z = إحداثيات اللماركر الجديدي إلي راح يطلع
  4. لو جمعت مودي + مود أسامة بيطلعلك المود إلي تبيه
  5. marker = createMarker( X, Y, Z, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then setElementPosition( player, X, Y, Z ) destroyElement( marker ) end end ) هذا لمن تلسمه ينقلك ثم يختفي حط بدل X, Y, Z في السطر الأول مكان الماركر وفي السطر السادس المكان إلي ينقلك له الماركر
  6. مشكور برستيج ما قصرت + ما شاء الله عليكـ دايمـ تساعد المفروض يخلوك مشرف ذذ
  7. What is this code for ??
  8. Here you go, Try this one The Script : marker = createMarker( X, Y, Z, "cylinder", 1.5, 210, 0, 0, 255 ) IP = Port = addEventHandler( "onMarkerHit", marker function ( player ) if ( getElementType ( player ) == "player" ) then redirectPlayer( player, IP, Port ) end end ) And the meta.xml : "redirect" author="baruffa123" version="1.0"/> Here is what to do : At the first line, Replace X, Y, Z by the marker coordinates ( You can get it from the Admin Panel in the game ) Place your server IP after ( IP = ) at line 2 And place you server port after ( Port = ) at line 3 And it should work P.S. : The Script name MUST BE Redirect ( Like in the meta.xml code ), Or else it wont work .
  9. السلآمـ عليكمـ ممكن توضحوا لي الغلط وين marker1 = createMarker( 96.475898742676, 1920.5272216797, 18.138929367065, "cylinder", 4.5, 255, 255, 255, 255 ) markerb1 = createMarker( 1726.9323730469, -1638.7202148438, 20.223373413086, "arrow", 1, 255, 255, 255, 255 ) addEventHandler("onMarkerHit", root, function (player) if ( getElementType( player ) == "player" ) then if ( player == marker1 ) then if hasObjectPermissionTo( player, "command.kick", true ) then setElementPosition( player, 1726.5913085938, -1642.021484375, 20.224987030029 ) setElementInterior( player, 18 ) setElementDimension( player, 0 ) outputChatBox( "مرحبا في مقر الأدمن", player, 0, 210, 0, true ) else killPed( player ) outputChatBox( "!! للأدمن فقط", player, 210, 0, 0, true ) end elseif ( player == markerb1 ) then setElementPosition( player, 92.078323364258, 1921.2082519531, 17.99840927124 ) setElementInterior( player, 0 ) setElementDimension( player, 0 ) outputChatBox( "لقد غادرت مقر الأدمن", player, 210, 0, 0, true ) end end end )
  10. كفوووك + إسمي آلم وليس علم
  11. ياخي اسمع مني وجرب ذا local id = 287 marker = createMarker(836.71636962891, -2045.2312011719, 12.8671875, "checkpoint", 40, 0, 0, 210, 255) addEventHandler("onMarkerHit", marker, function(player) if getElementType(player) == "player" then if getElementModel(player) ~= id then setElementModel(player, id) outputChatBox("تم تغيير الشخصيه بنجاح", player, 0, 255, 0, true) else outputChatBox("", player, 0, 0, 0, true) end end end) addEventHandler("onElementModelChange", root, function(old, new) if getElementType(source) == "player" then if isElementWithinMarker(source, marker) then if new ~= id then killPed(source) outputChatBox("لا تستطيع تغيير شخصيتك وانت بالماركر", source, 255, 0, 0) end end end end) + راجع إحداثياتك
  12. إستخدم هذا الكود local id = 287 marker = createMarker(849.59246826172, -2042.9193115234, 12.8671785, "checkpoint", 1.5, 0, 0, 210, 255) addEventHandler("onMarkerHit", marker, function(player) if getElementType(player) == "player" then if getElementModel(player) ~= id then setElementModel(player, id) outputChatBox("تم تغيير الشخصيه بنجاح", player, 0, 255, 0, true) else outputChatBox("", player, 0, 0, 0, true) end end end) addEventHandler("onElementModelChange", root, function(old, new) if getElementType(source) == "player" then if isElementWithinMarker(source, marker) then if new ~= id then killPed(source) outputChatBox("لا تستطيع تغيير شخصيتك وانت بالماركر", source, 255, 0, 0) end end end end)
  13. -_-" أجل كيف شغال عندي 1.3.1 نسختي
  14. طيب إسدح ملف الميتا + local id = 287 marker = createMarker(849.59246826172, -2042.9193115234, 12.8671785, "cylinder", 1.5, 0, 0, 210, 255) addEventHandler("onMarkerHit", marker, function(player) if getElementType(player) == "player" then if getElementModel(player) ~= id then setElementModel(player, id) outputChatBox("تم تغيير الشخصيه بنجاح", player, 0, 255, 0, true) else outputChatBox("", player, 0, 0, 0, true) end end end) addEventHandler("onElementModelChange", root, function(old, new) if getElementType(source) == "player" then if isElementWithinMarker(source, marker) then if new ~= id then killPed(source) outputChatBox("لا تستطيع تغيير شخصيتك وانت بالماركر", source, 255, 0, 0) end end end end) هذا هو الكود الشغال
  15. local id = 287 marker = createMarker(849.59246826172, -2042.9193115234, 12.8671785, "cylinder", 1.5, 0, 0, 210, 255) addEventHandler("onMarkerHit", marker, function(player) if getElementType(player) == "player" then if getElementModel(player) ~= id then setElementModel(player, id) outputChatBox("تم تغيير الشخصيه بنجاح", player, 0, 255, 0, true) else outputChatBox("", player, 0, 0, 0, false) end end end) addEventHandler("onElementModelChange", root, function(old, new) if getElementType(source) == "player" then if isElementWithinMarker(source, marker) then if new ~= id then killPed(source) outputChatBox("لا تستطيع تغيير شخصيتك وانت بالماركر", source, 255, 0, 0) end end end end) شوية تعديل
  16. شغااال %100
  17. إذا كنت تقصدني إلا شفته وفاهم الشغلة لكني ما أفهم في التابل taple وهي شي مطلوب عشان كذا صعب علي إني أسويها
  18. صدقني فاهمك بس صعبة لأني لو حطيت killPed مع الإيفنت "onMarkerHit" راح يقتل اللاعب أول ما يلمس الماركر وزي ما شفت أول حاولت أحطها لحالها وبرضو ما زبطت معاي عالعموم إن شاء الله يزبطوها لك المحترفين زي تابل وسعد وبسول وعناد وغيرهم بالتوفيق
  19. ما فهمتك ؟؟
  20. إذا تبي أسويلك الماركر بس الوزنية ما أعرفلها
  21. صراحة بديت أحس إن هذا المود ليس له وجود
  22. مو شغال Not working
  23. خذ جرب ذا يمكن يشتغل marker = createMarker( 851.69097900391, -2055.2756347656, 12.8671875, "cylinder", 1.5, 255, 255, 255, 255 ) addEventHandler( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) and ( getElementModel ( player ) ~= ID ) then setElementModel( player, 0 ) outputChatBox( "!! تم التغيير بنجاح", player, 0, 255, 0, true ) else outputChatBox( "", plyaer, 255, 0, 0, false ) end end ) addEvent( "InMarker", true ) addEventHandler( "InMarker", root, function ( player ) if ( getElementType ( Player ) == "player" ) and ( getElementModel ( player ) ~= ID ) then if isElementWithinMarker ( player, marker ) then killPed ( player ) outputChatBox( "!! ممنوع تغيير الشخصية", player, 210, 0, 0, true ) else outputChatBox( "", player, 0, 0, 0, false ) end end end ) إذا ما إشتغل عاد إعذرني ما أعرفله
  24. مشكورررريييين ضاوي + طلال + بحريني + أسامة تسلموا الكود إشتغل
×
×
  • Create New...