Jump to content

طلب أكواد


Recommended Posts

WeaponID = { 
    [30] = true, 
} 
  
  
addEventHandler ( 'onPlayerWeaponSwitch', getRootElement ( ), 
    function ( previousWeaponID, currentWeaponID ) 
        if ( WeaponID[currentWeaponID] ) then 
            if getPlayerTeam ( source ) == getTeamFromName ( "test" ) then 
            toggleControl ( source, 'fire', false ) 
        else 
            toggleControl ( source, 'fire', true ) 
            end 
        end 
    end 
) 

شكرا عاشق لشرق هذا الكود شغال يخليه مايطلق

حتى كود تابل عدلت شي وزبط

شكرا لكم

تمت الأفاده

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...