Jump to content

Max+

Members
  • Posts

    1,363
  • Joined

  • Last visited

Everything posted by Max+

  1. اوه صح بالنسبة للافنت والله ماستوعبت الا الحين . . يقدر يخليه عند دخول الاعب onPlayerJoin + مايحتاج جدول للسيارة . . + بالنسبة للفواصل ذي عادية ختم ماتسوي شي بس كذا . .
  2. والله في اكثر من طريقة بكيف صاحب الموضوع السكربت اللي يمشي ويشتغل معه تمام . . ,
  3. [quote name=..&G:..]Eh.. f*ck it, I am quiting this script, just doesn't want to work I wanted to reopen my old roleplay server but it seems that the world doesn't want me to reopen it Thanks for help anywa! did you try the new post of mine ? what erros does it shows ?
  4. الافنت حقك انت غلط . لانه يشتغل عندما يغير السلاح لقنبلة . واحتمال يسبب مشاكل . . + ليه تلغي الاطلاق . . وتفعله 3 مرات ؟ + newslot ماله اي فايدة بالسكربت . . هو عنده 200 انترور وش يسوي يجلس يستخدم if -- then elseif -- then elseif -- then ? يصير 350 كود ! انا مسوي تيبل بكل الايديات الانترور بس يستبدل الايديات باللي عنده .. وانا مخليه ملغي الاطلاق للقنابل فقط . . مايبي يلغي كل الاسلححه . .
  5. [quote name=..&G:..]Doesn't work, and no errors... and tbh, I am not a very good scripter, but that function doesn't look right.. OK , Post Edited , Try Now ,
  6. What's the correct ? Becuase im , not very Good , with tabels ,
  7. [quote name=..&G:..]The outputChatBox doesn't show anymore... And no errors Edited # addEventHandler ( 'onVehicleEnter' , resourceRoot, function ( ) for _, theVehicle in pairs( getElementsByType( "vehicle" ) ) do local Model = getElementModel ( theVehicle ) if ( Model == 603 ) then outputChatBox(" This is a Shelby " , source , 255, 255, 0 ) elseif ( Model == 474 ) then outputChatBox(" This is a Mercedes E500 " , source , 255, 255, 0 ) elseif ( Model == 411 ) then outputChatBox(" This is a Lamborghini Veneno " , source , 255, 255, 0 ) end end end ) --ServerSide , /debugscript 3
  8. Change the event to addEventHandler ( 'onVehicleEnter', resourceRoot,
  9. والله سويت طريقة ثانية , بس مأني متأكد يضبط ولا لا , جرب وشوف غير الايديات بايديات الانترونات اللي عندك . . ID = { 592, 553, 577, 488, 511, 497, 548, 563, 512, 476, 593, 447, 425, 519, 520, 460, 417, 469, 487, 513, 509, 481, 510, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454 } addEventHandler ( 'onClientPlayerWeaponFire', resourceRoot, function (nWeapon ) for _, v in ipairs (ID) do if ( getElementInterior (v ) and (nWeapon ) == 16 ) then cancelEvent ( ) outputChatBox ( '* Using Grenades Are Not Allowed Here * ' , 255, 0, 0 ) end end end )
  10. طيب يالحبيب كل كود انترور سويته . . حط تحته ذا . . عشان يلغي القنابل setElementData ( localPlayer ,'NoGrenades', false ) --- اذا الانترو كلينت setElementData ( source ,'NoGrenades', false ) --- اذا الانترو سيرفر والكود اللي فوق حطه كلينت عشان يتحقق من اي انترور انت مفعل فيه منع القنابل مايقدر يستخدمهم . . واذا قصدك ناوي تجيبهم كلهم ماتقدر لاني بحثت زيك عن لوب او كود يجيبهم كلهم مافيه . . لازم تسويها بنفسك
  11. يابن الحلال كودي صحيح وشغال 100 % بس وش السكربت اللي عندك زر اف 6 ؟
  12. GUIEditor = { button = {}, label = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() w = guiCreateWindow(101, 183, 628, 254, "Rules Mode V1 |^", false) guiWindowSetSizable(w, false) guiSetProperty(w, "CaptionColour", "A300CD74") GUIEditor.button[1] = guiCreateButton(9, 189, 607, 28, "[3.F] @ Copy Rghit 2014 ", false, w) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF003196") GUIEditor.memo[1] = guiCreateMemo(9, 55, 607, 124, " | Welcome To Server [3.F] | اهلآ وسهلآ في سيرفر للفن عنوان |\n\n1>Respect The Players And The Admin | الرجاء احترام الزوار و الأدمنية\n2>Dont Ask For Admin = Mute | الرجاء عدم طلب الأدمنية = ميوت\n3>Dont Insults + Publishing = Ban | الرجاء عدم السب + نشر السيرفرات =باند\n4>For Contact The Admin F8 > report | \n [Thanks To Vist Our Server | شكرآ لزيارتكم السيرفر]", false, w) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.label[1] = guiCreateLabel(241, 35, 152, 20, "Vistor Rules | قوانين الزوار", false, w) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 254, 254, 255) guiSetVisible (w, false) end ) bindKey ( "F1", "down", function ( ) if guiGetVisible (w ) then guiSetVisible ( w, false ) showCursor ( false ) else showCursor ( true ) guiSetVisible ( w, true ) end end ) + تأكد بملف الميتا السكربت يكون client مو سيرفر ! واستخدم /debugscript 3 عشان نشوف وش الاخطاء . .
  13. ; > , لا تطلع شيء من عندك اسستبدل اللي في الجدول ; الى , وش تقول انت وضح كلامك ؟ ؟
  14. ذا للتحقق من الاسلحه . . حطه بملف لحاله . . وتأكد يكون كلينت . . addEventHandler ( 'onClientPlayerWeaponFire', resourceRoot, function (nWeapon) if ( getElementData ( localPlayer, 'NoGrenades' == false ) and nWeapon == 16 ) then cancelEvent ( ) outputChatBox ( '* Using Grenades Are Not Allowed Here * ' , 255, 0, 0 ) end end ) وكل انترو سويته من محلات - شوبات اسلحه . . الخ حط ذا معه setElementData ( localPlayer ,'NoGrenades', false ) --- اذا الانترو كلينت setElementData ( source ,'NoGrenades', false ) --- اذا الانترو سيرفر على حسب الانترو عندك سيرفر استخدم حق السيرفر اذا كنت مسوي الانترو كلينت استخدم الكلينت . .
  15. ياليت توضح اكثر + انترو ايش هو ؟ انتي مسوي انترو لشوب الاسلحه يعني ؟ وماتبي يستخدم الاسلحة داخل محل الشوب ؟ اذا هاذا قصدك عطني كود الانترو اللي سويته .. .
  16. local spawns = { { 2066.3666992188, 1496.822265625, 10.671875, }; { 2035.7448730469, 1560.4890136719, 10.8203125 }; { 2488.6037597656, 1296.3015136719, 10.8125 }; }; addEventHandler('onPlayerSpawn', root, function ( ) local x, y, z = unpack(spawns[math.random(#spawns)]) spawnPlayer ( source, x, y, z ) MyCar = createVehicle ( 432, x, y, z ) warpPedIntoVehicle ( source, MyCar ) outputChatBox ( ' * Spawned ! * ' , source, 255, 255, 0 ) end )
  17. setAccountData getAccountData ---- setElementData getElementData تحفظ الوقت بالطريقة الاولى ولا الثانية ؟
  18. well if it's a race no need to check if player inside a vehicle becuase he will always be in a vehicle when he player , try this , addEventHandler( 'onMarkerHit', resourceRoot, function( hitElement ) local randomfunctionfromtable = functionstable[math.random(1,#functionstable)] if ( getElementType( hitElement ) == 'vehicle' ) then setTimer (_G[randomfunctionfromtable], 50, 1) sx,sy,sz = getElementPosition(source) destroyElement(source) end end ) /debugscript 3 tell me the error if there is ,
  19. First of All , isPlayerInVehicle --- has Been Remove ( it's old ) use isPedInVehicle insted Try this , addEventHandler( 'onMarkerHit', resourceRoot, function( hitElement ) local randomfunctionfromtable = functionstable[math.random(1,#functionstable)] if ( getElementType( hitElement ) == 'player' ) and not ( isPedInVehicle( hitElement ) ) then setTimer (_G[randomfunctionfromtable], 50, 1) sx,sy,sz = getElementPosition(source) destroyElement(source) end end )
  20. مايحتاج تعديل على التاب يقدر يسوي واحد لحاله . . exports.scoreboard او , يجيب احداثيات مكان معين بالشاشه ويسوي الصورة عليه وراح تطلع بالمكان اللي هو يبي ويقدر يخلي الصوره ماتطلع الا اذا ارتفع البنق . . . على حسب طلبه
×
×
  • Create New...