~Mr.Hassan Posted August 9, 2015 Posted August 9, 2015 (edited) السلام عليكم ابي فنكشن مثال عندي ام 4 ابي ابدله بام 4 انا اجيبه من الانترنت ممكن بالله محتاجهم باسرع وقت وشكرا .. Edited August 9, 2015 by Guest
i S6O Posted August 9, 2015 Posted August 9, 2015 تركيب الاسلحه للسيرفر تفضل هنا مقطع فيديو عن اسلحه معدله
~Mr.Hassan Posted August 9, 2015 Author Posted August 9, 2015 شكرا تمت الافاده ابي كمان فنكشن\ ابي لما اعمل نافذه وكل شيئ ابي لما اضغط عا البوتون تتفجر كل سياره بل سيرفر كل سياره او كل السيارات بصيغه الجمع المهم لا تبخلو علينا عا نعمل سيرفر وعا نبرمج انا واحد
terreus Posted August 9, 2015 Posted August 9, 2015 شكرا تمت الافادهابي كمان فنكشن\ ابي لما اعمل نافذه وكل شيئ ابي لما اضغط عا البوتون تتفجر كل سياره بل سيرفر كل سياره او كل السيارات بصيغه الجمع المهم لا تبخلو علينا عا نعمل سيرفر وعا نبرمج انا واحد لا تزود مشاركات سوي طلباتك في موضوع واحد
~Mr.Hassan Posted August 9, 2015 Author Posted August 9, 2015 (edited) addEventHandler('onClientGUIClick',root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent('dd',localPlayer) end end ) -------------------------------------------------------- addEvent("dd", true) addEventHandler("dd", root, function ( ) for i, v in next, getElementsByType ( v ) do blowVehicle ( Vehicle , true ) outputChatBox("تم تفجير سيارتك من قبل الكونسل", source, 255, 0, 0) if not isObjectInACLGroup ("user." .. getAccountName (getPlayerAccount (source)), aclGetGroup ("Console")) then blowVehicle ( Vehicle , false ) outputChatBox("لم يتم تفجير سيارتك لانك كونسل !!", source, 255, 0, 0) end --- end function end --- end do end ---- end if end )---- اند تحقق و اغلاق قوس كذا يصير ؟؟ حطيت انه يفجر كل لاعبين ويقلهم تم تفجير من قبل كونسل و كمان اذا كان الاعب بقروب كونسل ما يفجرله سيارته لو سمحت شفلي الكود لو فيه اي خطا Edited August 9, 2015 by Guest
iMr.SFA7 Posted August 9, 2015 Posted August 9, 2015 عندك اخطاء بالسيرفر انت سويت لوب وسميت السيارات v ايش جاب المتغير Vehicle ?? حط بدله v وغير plr ل source
iMr.SFA7 Posted August 9, 2015 Posted August 9, 2015 قلت لك غير ذي blowVehicle ( Vehicle , true ) ل blowVehicle ( v , true )
~Mr.Hassan Posted August 9, 2015 Author Posted August 9, 2015 (edited) تم addEvent("dd", true) addEventHandler("dd", root, function ( ) for i, v in next, getElementsByType ( v ) do blowVehicle ( v , true ) outputChatBox("تم تفجير سيارتك من قبل الكونسل", source, 255, 0, 0) if not isObjectInACLGroup ("user." .. getAccountName (getPlayerAccount (plr)), aclGetGroup ("Console")) then blowVehicle ( v , false ) outputChatBox("لم يتم تفجير سيارتك لانك كونسل !!", source, 255, 0, 0) end --- end function end --- end do end ---- end if end )---- اند تحقق و اغلاق قوس Edited August 9, 2015 by Guest
terreus Posted August 9, 2015 Posted August 9, 2015 addEventHandler('onClientGUIClick',root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent('dd',localPlayer) end end ) addEvent("dd", true) addEventHandler("dd", root, function ( ) for i, v in next, getElementsByType ( v ) do blowVehicle ( v , true ) outputChatBox("تم تفجير سيارتك من قبل الكونسل", source, 255, 0, 0) if not isObjectInACLGroup ("user." .. getAccountName (getPlayerAccount (source)), aclGetGroup ("Console")) then blowVehicle ( v , false ) outputChatBox("لم يتم تفجير سيارتك لانك كونسل !!", source, 255, 0, 0) end end end end )
iMr.SFA7 Posted August 9, 2015 Posted August 9, 2015 addEventHandler('onClientGUIClick',root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent('dd',localPlayer) end end ) addEvent("dd", true) addEventHandler("dd", root, function ( ) for i, v in next, getElementsByType ( v ) do blowVehicle ( v , true ) outputChatBox("تم تفجير سيارتك من قبل الكونسل", source, 255, 0, 0) if not isObjectInACLGroup ("user." .. getAccountName (getPlayerAccount (source)), aclGetGroup ("Console")) then blowVehicle ( v , false ) outputChatBox("لم يتم تفجير سيارتك لانك كونسل !!", source, 255, 0, 0) end end end end ) getElementsByType ( v )
iMr.SFA7 Posted August 9, 2015 Posted August 9, 2015 addEventHandler('onClientGUIClick',root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent('dd',localPlayer) end end ) -------------------------------------------------------- addEvent("dd", true) addEventHandler("dd", root, function ( ) for i, v in ipairs getElementsByType ( "vehicle" ) do local Player = getPedOccupiedVehicle ( v ) if isObjectInACLGroup ("user." .. getAccountName (getPlayerAccount (Player)), aclGetGroup ("Console")) then outputChatBox("لم يتم تفجير سيارتك لانك كونسل !!", Player, 255, 0, 0) else blowVehicle ( v , true ) outputChatBox("تم تفجير سيارتك من قبل الكونسل ", Player, 255, 0, 0) end --- end function end --- end do end ---- end if )---- اند تحقق و اغلاق قوس
; Mr.T76eM # Posted August 9, 2015 Posted August 9, 2015 فيه خطأ بالسيرفر الي مخلي السيرفر م يشتغل اعمل ريستارت للسكربت وصور وش يطلع لك بالديبق .
; Mr.T76eM # Posted August 9, 2015 Posted August 9, 2015 مدري وش الخطأ بالضبط في الوب جرب استبدل الوب ب for i,v in ipairs (getElementsByType("vehicle")) do
; Mr.T76eM # Posted August 9, 2015 Posted August 9, 2015 local Player = getPedOccupiedVehicle ( v ) if isObjectInACLGroup ("user." .. getAccountName (getPlayerAccount (Player)), aclGetGroup ("Console")) then outputChatBox("لم يتم تفجير سيارتك لانك كونسل !!", Player, 255, 0, 0) تتحقق ان السيارة بـ قروب كونسول ؟ getPedOccupiedVehicle ( ped thePed ) الفنكشن هذي تجيب سيارة الاعب مو لاعب السيارة ..
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now