Jump to content

[Ayuda] Scream al entrar a un Area


Narutimmy

Recommended Posts

Posted

Hola intento hacer un... scream... basicamente que al entrar a un area (2 min despues) se reprodusca un sonido y muestre una imagen...

creo seria algo asi... pero nose, y una ves que se crea la imagen como se elimina?

local hillRadar = createRadarArea ( 93, 1800, 300, 300, 181, 0, 0, 200 ) 
 local hillArea = createColRectangle ( 93, 1800, 300, 300 ) 
  
  
  
 function hill_Enter ( hitElement ) 
   sound = playSound("shout.mp3") 
   setSoundVolume(song,0) 
   dxDrawImage( 0,0,Width,Height,"scream.jpg") 
end 
addEventHandler ( "onColShapeHit", hillArea, hill_Enter ) 
  

mtasa://66.85.14.178:22003

350x20_FFFFFF_FFFFFF_000000_000000.png

Ts3: thezombiworld.com:7777

350x20_FFFFFF_FFFFFF_000000_000000.png

Posted

playSound es solo client side, al igual que dxDrawImage, y tu script es server side.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Recently Browsing   0 members

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