Jump to content

طلب فنكش سحب سياره وسحب الاسلحه


Recommended Posts

كذا يعمل ؟

col = createColSphere(x, y, z, fRadius) 
function onJoin () 
takeWeapon( thePlayer, 2 ) 
takeWeapon( thePlayer, 3 ) 
takeWeapon( thePlayer, 4 ) 
takeWeapon( thePlayer, 5 ) 
takeWeapon( thePlayer, 6 ) 
takeWeapon( thePlayer, 7 ) 
takeWeapon( thePlayer, 8 ) 
takeWeapon( thePlayer, 9 ) 
takeWeapon( thePlayer, 22 ) 
takeWeapon( thePlayer, 23 ) 
takeWeapon( thePlayer, 24 ) 
takeWeapon( thePlayer, 25 ) 
takeWeapon( thePlayer, 26 ) 
takeWeapon( thePlayer, 27 ) 
takeWeapon( thePlayer, 28 ) 
takeWeapon( thePlayer, 29 ) 
takeWeapon( thePlayer, 30 ) 
takeWeapon( thePlayer, 31 ) 
takeWeapon( thePlayer, 33 ) 
takeWeapon( thePlayer, 34 ) 
takeWeapon( thePlayer, 35 ) 
takeWeapon( thePlayer, 36 ) 
takeWeapon( thePlayer, 37 ) 
takeWeapon( thePlayer, 38 ) 
takeWeapon( thePlayer, 16 ) 
takeWeapon( thePlayer, 17 ) 
takeWeapon( thePlayer, 18 ) 
takeWeapon( thePlayer, 39 ) 
takeWeapon( thePlayer, 41 ) 
takeWeapon( thePlayer, 42 ) 
takeWeapon( thePlayer, 43) 
takeWeapon( thePlayer, 10 ) 
takeWeapon( thePlayer, 11 ) 
takeWeapon( thePlayer, 12 ) 
takeWeapon( thePlayer, 14 ) 
takeWeapon( thePlayer, 15 ) 
takeWeapon( thePlayer, 44 ) 
takeWeapon( thePlayer, 45 ) 
takeWeapon( thePlayer, 46 ) 
takeWeapon( thePlayer, 40 ) 
outputChatBox ( "تم اخفاء جميع اسلحتك بسبب دخولك منطقه محميه ", source, 255, 255, 255 ) 
else 
outputChatBox ( "!!! ", source, 255, 255, 255 ) 
      end 
   end 
end 
  

Link to comment
WeaponID = { 
    [31] = true, 
    [36] = true, 
    [38] = true, 
} 
function (  currentWeaponID ) 
if ( WeaponID[currentWeaponID] ) then 
col = createColSphere(x, y, z, fRadius) 
takeAllWeapons(source) 
addEventHandler ( 'onPlayerWeaponSwitch', getRootElement ( ), 
        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...