Jump to content

~~~طـــلب مود ~~ / ^__*


ahmed1010

Recommended Posts

الاغانى فى منطقة معينة

addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource()), 
    function() 
local desusound =playSound3D("اسم الاغنية .mp3",-2408.86816,-601.11780,132.64844, true) 
setSoundVolume(desusound,1.-- s8) -->
setSoundMaxDistance(desusound, 200) 
    end 
               ) 
  
local ped1 = createPed(120,-708.23993,958.99884,12.48081,90) 
local ped2 = createPed(240,-711.37653,959.38373,12.37089,90) 
local ped3 = createPed(163,-710.21118,959.16022,12.41558,90) 
local ped4 = createPed(164,-1101.1459960938,-977.13226318359,133.90431213379,90) 
setElementFrozen(ped1, true) 
setElementFrozen(ped2, true) 
setElementFrozen(ped3, true) 
setElementFrozen(ped4, false) 
function regenerate() 
setPedAnimation(ped1, "dancing", "dnce_M_a",-1,true,false,false) 
setPedAnimation(ped2, "dancing", "dnce_M_e",-1,true,false,false) 
setPedAnimation(ped3, "dancing", "dan_down_a",-1,true,false,false) 
setPedAnimation(ped4, "dancing", "Coplook_loop",-1,false,false,false) 
end 
setTimer(regenerate, 1000, 1) 

غير الاحداثيات و سوى الميتا

Link to comment

هل هو صح ام خطا

  
function () 
local Shape = createColCuboid ( X, Y, Z, 10.0, 10.0, 10.0 ) 
local Shape = createRadarArea ( -2183.5678710938, 705.67950439453, 40, -40, 0, 255, 0, 175 ) 
giveWeapon ( source, 31, 200 ) 
takeWeapon ( source, 31, 200 ) 
addEventHandler ( "onColShapeHit", 
addEventHandler ( "onColShapeLeave", 
end) 

Link to comment
هل هو صح ام خطا
  
function () 
local Shape = createColCuboid ( X, Y, Z, 10.0, 10.0, 10.0 ) 
local Shape = createRadarArea ( -2183.5678710938, 705.67950439453, 40, -40, 0, 255, 0, 175 ) 
giveWeapon ( source, 31, 200 ) 
takeWeapon ( source, 31, 200 ) 
addEventHandler ( "onColShapeHit", 
addEventHandler ( "onColShapeLeave", 
end) 

:big16:

X X X X

Link to comment

مو فاهم طلبه بالظبط بس ..

  
  
Shape = createColCuboid ( X, Y, Z, 10.0, 10.0, 10.0 ) 
createRadarArea (-2183.5678710938, 705.67950439453, 40, -40, 0, 255, 0, 175 ) 
function Hit() 
--- هنا تحط الاشياء الي تصير له وهو داخل المنطقه المحميه 
end 
function Leave() 
--هنا تحط الاشياء الي تصير يوم تطلع برا المنطقه المحميه 
end 
addEventHandler ( "onColShapeHit",Shape,Hit) 
addEventHandler ( "onColShapeLeave", 
Shape,Leave) 
  
  

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...