SetEntityInteractive( GetEntityByID( 12 ), false )

DeleteItem( "petards" )
regVarGlobal("petards_trap",1)

ChangeAction( GetEntityByID( 9 ), GetEntityByID( 12 ), GetEntityByID( 12 ), "default", "trap" )