Est UnRegEventBlock

From EventScripts Community Encyclopedia

Unregister a pre-event set by Est_RegEventBlock

Overview

Syntax: <event> <command to unregister>
Note: Command parameters are described inside the < and > characters.

Description

Unregister a pre-event set by Est_RegEventBlock.

Parameters

  • event - The event that is registered for a pre-event.
  • command to unregister - The command that was registered with Est_RegEventBlock that you want to unregister.

Examples

block load 
{ 
  es_set userid_temp 0 
  est_RegEventBlock player_death "es_doblock death/pre_death" 
}
 
block pre_death 
{ 
  est_GetEventInfo userid_temp userid 
  es_sexec server_var(userid_temp) say "IM DIEING!!" 
}
 
block unload 
{ 
   est_UnRegEventBlock player_death "es_doblock death/pre_death" 
}


Notes


See Also

Est_RegEventBlock

blog comments powered by Disqus