charaf12 Posted February 22, 2014 Share Posted February 22, 2014 السلام عليكم ابي كود منع الاسلحة في الماركر الي اعينو انا Link to comment
shwaeki Posted February 22, 2014 Share Posted February 22, 2014 حط الموضوع هون هون مو يا طلبات viewforum.php?f=160 Link to comment
abu5lf Posted February 23, 2014 Share Posted February 23, 2014 -- Client Side -- WeaponID = { [31] = true, [36] = true, [38] = true, } local vMarker = createMarker( 20, 20, 0 ); addEventHandler( 'onClientPlayerWeaponFire', getRootElement( ), function( currentWeaponID ) if( isElementWithinMarker( localPlayer, vMarker ) )and( WeaponID[currentWeaponID] )then toggleControl( 'fire', false ); else toggleControl( 'fire', true ); end end ) addEventHandler( 'onClientMarkerLeave', vMarker, function( hitPlayer ) if( hitPlayer == localPlayer )then toggleControl( 'fire', true ); end end ) Link to comment
Tete omar Posted February 23, 2014 Share Posted February 23, 2014 ينقل إلى قسم البرمجة 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