Public feed #380184

Miscellany

public text v1 · immutable
Raw Edit
·published 2007-03-03 21:16 UTC
rendered paste body
#include <amxmodx>
#include <amxmisc>

new bool:stuff

public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
	register_event(resethud..etc)
}

public event_reset_hud(id)
{
	if(stuff[id])
	{
		cs_set_user_model(model)
	}
	etc
	

public admin_setmodel(id...etc)
{
	cs_set_user_model(id,model)
	
	stuff = true
}