Sorry, I haven't written the script becouse I had some problems lately.
But here are some suggestions that will help you.
I will be busy these days, if you have small questions I will answer them.
First thing is.
Register new round event not last round.
PHP Code:
register_event("HLTV","event_new_round","a","1=0","2=0")
Second.
The idea to block the ability of the invisible man to buy is good.
But I thought of a better and easier way.
You should register the curweapon event (when the player changes weapons)
And if automaticly force the client to use the knife weapon.
[EDIT] Here you can make the client invisible also![/EDIT]
Example usage:
PHP Code:
register_event("CurWeapon", "change_weapon", "b", "1=1") // in plugin_init()
public change_weapon(id)
{
new weapon = read_data(2)
if (weapon == CSW_C4 || weapon == CSW_KNIFE)
return PLUGIN_CONTINUE
client_cmd(id,"weapon_knife")
return PLUGIN_CONTINUE
}
Hope it helps!
__________________