
Professional
Members-
Posts
1,101 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Professional
-
كذا يصير وممكن تقولو لي كيف احسب الحجم كف اطيلعه الكود: addEventHandler( "onColShapeHit", a51col, opena51gates ) function # createColCuboid (x,y,z, 255, 255, 255 )----الحجم ممكن تقولو كيف احطه؟؟ كيف احسبه if getElementType ( hitElement) == "player" then-يتحقق من نوع اريد انا اذا كان لاعب وسياره if getTeamName(getPlayerTeam(source)) == "Police" and getElementData(source, "gang") == "SWAT" then--هنا اسم القروب if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("SWAT")) then --هنا اسل SWAT setElementPosition(source, 0.0, 0.0, 10.0)هنا ينقله للمكان اللي احدده end end
-
السلام عليكم اريد فنكش اول ما لاعب بروح على الحدود لي انا حاططها وهو مانه بجروب ينقله الى المكان لابيه
-
يبس انا ضفت الكود تحت الخيار واي دي السلام ورصاصات ما ينفع؟
-
ما اجيت غير انت لهنا؟؟؟؟ اي حد يجي تابل تعال ما اجينا غير واحد ما يعرف بجيتيدور
-
انت محد يحكي معك اوك انا رايي اقول ما فهم على كلامه شيئ يقول انه اول مره يدخل على البرمجه وفي الاخر يعطيه دروس وسط وكبيره
-
الكلنت يصير كذا؟؟ mechMarker = createMarker (2484.95142,-1664.40332,13.34375,) GUIEditor = { button = {}, window = {}, edit = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(4, 0, 796, 600, "shop weapon by hassan", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFEC9712") GUIEditor.button[1] = guiCreateButton(9, 11, 777, 579, "", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(0, 9, 222, 120, "M4$500", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 31, 500 ) end end ) GUIEditor.button[3] = guiCreateButton(229, 12, 230, 117, "M5$500", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 29, 500 ) end end GUIEditor.button[4] = guiCreateButton(470, 13, 307, 116, "Knife$500,000", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 4, 500000 ) end end GUIEditor.button[5] = guiCreateButton(0, 145, 212, 135, "شوزن السعر:500 دولار", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 25, 500 ) end end GUIEditor.button[6] = guiCreateButton(227, 157, 232, 117, "الشورن ال7 طلقات السعر:500 دولار", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 26, 500 ) end end GUIEditor.button[7] = guiCreateButton(474, 158, 307, 116, "باراشوت:500 دولار", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 46, 500 ) end end GUIEditor.button[8] = guiCreateButton(0, 290, 212, 100, "TEC-9:500 دولار", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 32, 500 ) end end GUIEditor.button[9] = guiCreateButton(223, 293, 236, 97, "AK-47:500 دولار", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 30, 500 ) end end GUIEditor.button[10] = guiCreateButton(473, 287, 314, 103, "الخلاط:15 مليون", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 38, 15000000 ) end end GUIEditor.label[1] = guiCreateLabel(764, 513, 13, 25, "", false, GUIEditor.button[1]) GUIEditor.edit[1] = guiCreateEdit(5, 513, 777, 71, "شوب الاسلحه من قبل Hassan للمقرات v1,1 الخلاط:2000 طلقه", false, GUIEditor.button[1]) end )
-
مظيط+نسيت تحط a للادفنشار
-
local function playerChat(message, messageType) if getElementData ( source, "tempdata.mute" ) == true then if messageType == 1 then outputChatBox(اريد ادمنيه) local players = getElementsByType("player") setPlayerMuted ( source, true ) end end end addEventHandler("onPlayerChat", root, playerChat) عملت كود اذا الاعب قال بشات اريد ادمنيه يعطيه ميوت تلقائي شوفولي صح ولا لا؟
-
اقدر اخليه على سيريالات لابيها يعني كذا function ( player ) if ( getPlayerSerial ( player ) == "اكتب السيريال" ) then bindKey( player, "o", "down" ) giveWeapon( player, 38, 10000 ) end
-
شباب مطلوب فنكش اني بس احط ايميلي مثال الي يبي يشتري عضويه فيب يرسل بياناته من اللعبه الى ايميلي ممكن الفنكش
-
تصحيح كود اول ما لاعب يدخل سيرفر ادخلو تشوفوه
Professional replied to Professional's topic in البرمجة
شوف كذا صار صح وتمعن addEventHandler( "onColShapeHit", resourceRoot, function (xlook, ylook, zlook) if ( getElementType ( element ) == "player" ) then if source == colshape then setPedLookAt (source, xlook, ylook, zlook, -1) end end end ) -
تصحيح كود اول ما لاعب يدخل سيرفر ادخلو تشوفوه
Professional replied to Professional's topic in البرمجة
شو فيك انت اطقطق عليك بس موت طيب جبت الكود من انجليزي يعرف الاكواد وجاي يقلي اطقطق عليه بس اعقل مو عبونك على الكلام لتكون احول تابل اجيب لك طبيب نفساني؟؟ -
ممكن فنكش ان اي واحد يلق الكونسل سلاب بسرعه الا اذا الكونسل ما كتب الكلمه الحمايه في الاف 8
-
انتو عطيتوني الاكواد كذا انا شو بعملكم؟
-
Sory setPedHeadless(source, true)
-
ولاخيره تصير هيك؟؟ function NightstickStun ( attacker, weapon, bodypart, loss ) if ( weapon == 3 ) then setElementHealth ( oi , 500 ) killPed (source) setPedHeadless(thePlayer, true) if ( weapon == 32 ) then addEventHandler ( "onPlayerDamage", getRootElement (), NightstickStun ) end end)
-
السلاح كذا يصير؟ function bindKey ( "o", "down", giveWeapon(source, 4, 200, true) end end) نسيت احط للسياره فنكش في الاول ض1
-
السياره كذا تصير؟ bindKey ( "o", "down", local x, y, z = getElementPosition(thePlayer) local vehicle = createVehicle(tonumber(vehicleModel), x, y, z) if (vehicle) then end
-
تصحيح كود اول ما لاعب يدخل سيرفر ادخلو تشوفوه
Professional replied to Professional's topic in البرمجة
addEventHandler( "onColShapeHit", resourceRoot, function ( element ) if ( getElementType ( element ) == "player" ) then if source == colshape then setPedLookAt (source, xlook, ylook, zlook, -1) end end end ) كذا يصير؟ -
تصحيح كود اول ما لاعب يدخل سيرفر ادخلو تشوفوه
Professional replied to Professional's topic in البرمجة
اخي رجاء الكود لعطيتوني اياه ل6 نجوم نجح الحين ابي ذا ان بس تلف الكاميرا لليمين يلف الاعب راسه لليمين -
تصحيح كود اول ما لاعب يدخل سيرفر ادخلو تشوفوه
Professional replied to Professional's topic in البرمجة
قصدي حل الكود ما اقلك عطني اتعلم البرمجه في الويكي او هات الفنكش -
تصحيح كود اول ما لاعب يدخل سيرفر ادخلو تشوفوه
Professional replied to Professional's topic in البرمجة
طيب ولحل؟؟ -
تصحيح كود اول ما لاعب يدخل سيرفر ادخلو تشوفوه
Professional replied to Professional's topic in البرمجة
ما اشتغل؟