I want to disallow any team from taking guns on round end. How do i do that?
This one okay, i there is better way?
PHP Code:
new disWep
plugin init()
{
register_logevent("round_end", 2, "1=Round_End");
register_event("HLTV", "new_round", "a", "1=0", "2=0")
RegisterHam(Ham_Touch, "WeapEntTouch");
}
public round_end()
{
disWep = true;
}
public new_round()
{
disWep = false;
}
public WeapEntTouch()
{
if(disWep)
return HAM_SUPERCEDE;
}