Jump to content

SCRIPT - CreateDetectionEvent - how it works ?


betto212

Recommended Posts

any idea how make this script work ?

 

 

scn extraSOUNDscript

float timer

begin gamemode

setdebugmode 1

 

 

set timer to timer -getsecondspassed

if timer <=0

 

; runs when player shoots

if player.getAnimAction == 2

set timer to 1

CreateDetectionEvent player 100 2

printc " sound 100"

endif

endif

 

 

 

end

Link to comment
Share on other sites

  • Recently Browsing   0 members

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