PaiN^
Members-
Posts
2,258 -
Joined
-
Last visited
Everything posted by PaiN^
-
مشكووور تابل + أدري غلبتك معي بس والله ودي اتعلمـ بسرعة
-
إذا تبي ماحد يقدر يضرب إلا الشرطة marker = createMarker( X, Y, Z, "cylinder", 50, 0, 255, 0, 0 ) addEventHandler( "onMarkerHit", root, function ( ) if ( getElementType ( source ) == "player" ) then local team = getPlayerTeam ( source ) if ( team and getTeamFromName ( team ) ~= "Police" ) then toggleControl( source, "fire", false ) toggleControl( source, "aim_weapon", false ) end end end ) addEventHandler( "onMarkerLeave", root, function ( ) if ( getElementType ( source ) == "player" ) then toggleControl( source, "fire", true ) toggleControl( source, "aim_weapon", true ) end end ) وإذا شي ثاني, ياليت توضح أكثر
-
showPlayerHudComponent ??!! -_-"
-
جرب ذا --> Server side addEventHandler( "onResourceStart", root, function( ) setTeamFriendlyFire( getTeamFromName( "Police" ) ,true ) end ) addEventHandler( "onPlayerWasted", root, function ( ) local team = getPlayerTeam ( source ) if ( team and getTeamFromName ( team ) == "Police" ) then cancelEvent ( ) end end end addEventHandler( "onPlayerDamage", root, function ( ) local team = getPlayerTeam ( source ) if ( team and getTeamFromName ( team ) == "Police" ) then cancelEvent () end end end وإذا ما إشتغل إطرح الميتا
-
--> Server addEventHandler("onResourceStart",getRootElement(), function() setTeamFriendlyFire( getTeamFromName( "Police" ) ,false ) end ) addEventHandler( "onPlayerWasted", root, function immortal ( ) local team = getPlayerTeam ( source ) if ( team and getTeamFromName ( team ) == "Police" ) then cancelEvent () end end end addEventHandler( "onPlayerDamage", root, function immortal ( ) local team = getPlayerTeam ( source ) if ( team and getTeamFromName ( team ) == "Police" ) then cancelEvent () end end end
-
--id="WUZIBET" destroyElement (getElementByID(WUZIBET)) -- destroyElement (getElementByID(WUZIBET,5)) -- or with index. Small ( g ) in getElementByID
-
^ عندكـ خطأ في الإختصار بكود منع التصويب , بالحدث حق الخروج من الماركر الخطأ في سطر 20 toggleControl ( hitPlayer, "aim_weapon", true ) التصحيح toggleControl ( leftPlayer, "aim_weapon", true ) + لما تنسخ كود مهو لكـ , إذكر المصدر + انت ضايف على الكود > سطر رقم 20 وغلط https://forum.multitheftauto.com/viewtopic.php?f=160&t=53604&p=520285#p520285 مشكور أخوي أسامة على التعديل بس أنا مانسخت كودك أبداً, أنا غلطت لأني نسخت الكود إلي حطه تابل ونسيت اغير hitPlayer إلى leftPlayer عالعموم أهم شي إنه تم اللإفادة
-
Mr.Pres[T]ege false مو true المفروض تكون ولا أنا غلطان ؟؟
-
يبيلك درس قواعد الكاف في لك مايبي له شرح ولا شي مود مافيه اسهل منه بالنسبة لك , لكن صعب على غيرك ضمير متصل في يدل على --> Mr.T9 مو علي أنا
-
team1 = createTeam("ARMY") team2 = createTeam("Danger") setTeamFriendlyFire(team1,true) setTeamFriendlyFire(team2,true)
-
مايبي له شرح ولا شي مود مافيه اسهل منه بالنسبة لك , لكن صعب على غيرك
-
OK !! مشكورين Booo + TD[M]ER تمت الإفادة
-
السلآمـ عليكمـ أنا حملت برنامج GUIeditor وهو شغال وتمام في السيرفر بس لمن أخلص وأسويله حفظ وأروح أفتح الملف ما ألقى شي أتمنى تساعدوني
-
تكفى عناد قسم دخت وانا احاول اطرح الكود كامل تكفى
-
"onVehicleStartEnter" server side only -_-"
-
It has no sense . Well, Can you fix it please
-
-- Client !! addEvent( "onHighSpeed", true ) addEventHandler( "onHighSpeed", root, function ( ) if ( getElementType ( source ) == "player" ) and ( isPedInVehicle ( source ) ) then local Vehicle = getPedOccupiedVehicle ( source ) local Speed = getElementVelocity ( Vehicle ) if ( Speed >= 100 ) then playSound ( "Sound.mp3", true ) else cancelEvent() end end end ) حاس إن فيه أغلاط بس إن شاء الله يشتغل
