Guest User

Untitled

a guest
Jan 20th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. library testes initializer init requires SoundTools
  2.  
  3. private function actions takes nothing returns nothing
  4.  
  5. //local integer startSound
  6.  
  7. call BJDebugMsg("vai tocar")
  8.  
  9. //set startSound = NewSound("Sound\\Interface\\GoodJob.wav", 2548, false, true)
  10.  
  11. call RunSound(NewSound("Sound\\Interface\\GoodJob.wav", 2548, false, true))
  12.  
  13. endfunction
  14.  
  15. private function init takes nothing returns nothing
  16. local trigger t = CreateTrigger()
  17. call TriggerRegisterPlayerEventEndCinematic(t, Player(0))
  18. call TriggerAddAction(t, function actions)
  19. endfunction
  20.  
  21. endlibrary
Add Comment
Please, Sign In to add comment