Est SetEventInfo
From EventScripts Community Encyclopedia
|
[edit] OverviewSyntax:<variable> <event_var>Note: Command parameters are described inside the
< and > characters.[edit] DescriptionGets the <event> event_var's before it's fired, in the pre-event. [edit] Parameters
[edit] Examplesblock load { es_set userid_temp 0 est_RegEventBlock player_hurt "es_doblock instakill/prep_hurt" } block pre_hurt { est_GetEventInfo userid_temp userid es est_health server_var(userid_temp) - 99 est_SetEventInfo health 1 // lets other addons know the true health } block unload { est_UnRegEventBlock player_hurt "es_doblock instakill/prep_hurt" } [edit] Notes
[edit] See Also |
