I'm having trouble understanding what the event plugin entails. Could you explain the underlying problem that you're having?
If you want to hook a player respawn, you can use the following:
Code:
public void OnPluginStart() {
HookEvent("player_spawn", OnPlayerSpawn);
}
public void OnPlayerSpawn(Event event, const char[] name, bool dontBroadcast) {
int client = GetClientOfUserId(event.GetInt("userid"));
if (client) {
// spawn timer, etc.
}
}
For Timers and the like, you do have to provide a callback function that gets called when the timer interval has elapsed.
__________________