I always hook when they spawn. Of course there might be a better way.
PHP Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_event("ResetHUD", "hook_ResetHUD", "be");
}
public hook_ResetHUD(id)
set_task(0.2, "task_afterSpawn", id);
public task_afterSpawn(id)
{
if(!is_user_alive(id))
return PLUGIN_HANDLED;
new team = pev(id, pev_team);
switch(team)
{
case 1: // Set team 1 model
case 2: // Set team 2 model
case 3: // Set team 3 model
case 4: // Set team 4 model
}
return PLUGIN_CONTINUE;
}