iMr.G[7]A Posted February 15, 2014 Share Posted February 15, 2014 السلام عليكم شبا انا سويت ساحة قتال ابي اسوي حولها حماية يعني اللي يطلع منها تروح الاسلحه منه ولو انتقل تروح برضو اذا طلع من ساحة القتال تروح الاسلحه Link to comment
xFace[B]ook Posted February 15, 2014 Share Posted February 15, 2014 'onColShapeLeave' 'onPlayerSpawn' createColCuboid takeAllWeapons Link to comment
Mr.T9 Posted February 15, 2014 Share Posted February 15, 2014 امسك الوظايف "onClientMarkerLeave" ----- اذا كان تبي تحطه بكلنت "onMarkerLeave" ------- اذا تبي تحطه بسيرفر سحب السلاح takeWeapon https://wiki.multitheftauto.com/wiki/TakeWeapon Link to comment
iMr.G[7]A Posted February 15, 2014 Author Share Posted February 15, 2014 في جاهز = او مود Link to comment
al-Kobra Posted February 15, 2014 Share Posted February 15, 2014 (edited) local sa7a = createColRectangle ( x, y, Width, Height) function Hsn ( leaveElement ) if getElementType ( leaveElement ) == "player" then takeAllWeapons ( leaveElement ) end end addEventHandler ( "onColShapeLeave", sa7a, Hsn ) addEventHandler ( "onPlayerSpawn", getRootElement(), Hsn ) جرب , Edited February 15, 2014 by Guest Link to comment
' ρяofзśŝoя 亗 Posted February 15, 2014 Share Posted February 15, 2014 function thePlayer() takeWeapon( thePlayer, ID ) end ) addEventHandler ( "onClientMarkerLeave", getRootElement(), thePlayer ) ضيفف الماركر + اي ديء السلآحح وجرببء * # Link to comment
xFace[B]ook Posted February 15, 2014 Share Posted February 15, 2014 function thePlayer() takeWeapon( thePlayer, ID ) end ) addEventHandler ( "onClientMarkerLeave", getRootElement(), thePlayer ) ضيفف الماركر + اي ديء السلآحح وجرببء * # ماينفع ماركر هو يقول ساحة يعني مكان كبير يستخدم كول شيب افضل Link to comment
Mr.T9 Posted February 15, 2014 Share Posted February 15, 2014 function thePlayer() takeWeapon( thePlayer, ID ) end ) addEventHandler ( "onClientMarkerLeave", getRootElement(), thePlayer ) ضيفف الماركر + اي ديء السلآحح وجرببء * # takeWeapon للسيرفر مو للكلنت ! Link to comment
' ρяofзśŝoя 亗 Posted February 15, 2014 Share Posted February 15, 2014 takeWeapon للسيرفر مو للكلنت ! ثآنككس ، معلوممه جديدههء ذذ # Link to comment
' ρяofзśŝoя 亗 Posted February 15, 2014 Share Posted February 15, 2014 local myMarker = createMarker( ... ) function func(thePlayer) if getElementType(thePlayer) == 'player' then takeWeapon( thePlayer, 0 ) end end addEventHandler( "onMarkerLeave", myMarker, func ) تععديل الككود السآبققء ، جرببء # Link to comment
!#NssoR_) Posted February 15, 2014 Share Posted February 15, 2014 ^ (0) ترا مافيه سلاح الايدي حقه فـ عشان كذا صاحب الموضوع بيعتقد ان الكود مو شغال خخخ حط الايدي 31 واخذ رشاش ( ام 4 ) ذذ وجرب Link to comment
al-Kobra Posted February 15, 2014 Share Posted February 15, 2014 local sa7a = createColRectangle ( x, y, Width, Height) function Hsn ( leaveElement ) if getElementType ( leaveElement ) == "player" then takeAllWeapons ( leaveElement ) end end addEventHandler ( "onColShapeLeave", sa7a, Hsn ) addEventHandler ( "onPlayerSpawn", getRootElement(), Hsn ) جرب , Link to comment
#DRAGON!FIRE Posted February 15, 2014 Share Posted February 15, 2014 marker = createMarker( .... ) addEventHandler( "onMarkerLeave", resourceRoot, function( element ) if ( source == marker ) then if ( getElementType ( element ) == "player" ) then takeAllWeapons ( element ) end end end ) Link to comment
' ρяofзśŝoя 亗 Posted February 15, 2014 Share Posted February 15, 2014 ^ (0) ترا مافيه سلاح الايدي حقه فـ عشان كذا صاحب الموضوع بيعتقد ان الكود مو شغال خخخ حط الايدي 31 واخذ رشاش ( ام 4 ) ذذ وجرب عآد مشككله اذ مو فاهمم شيء ويبي يبرمج ، # Link to comment
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