how to pass an ID from one event to another without activating the second event at the time of passing so the event will be called normally?
e.i.:
Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg", "Death", "a")
register_event("HLTV", "event_new_round", "a", "1=0", "2=0")
}
public Death() {
new killer = read_data(2)
}
public event_new_round() {
//how to pass the ID variable "killer"
//to this func without activating it until
//it is called upon naturally?
}
__________________