#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Nowy Plugin"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"
new Float:gametime
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("CurWeapon","CurWeapon","be", "1=1", "2=4")
register_logevent("Round_Start", 2, "1=Round_Start")
}
public CurWeapon(id)
{
if(get_gametime() - gametime < 15.0)
{
engclient_cmd(id, "weapon_knife")
client_print(id, print_center, "")
}
}
public Round_Start()
{
gametime = get_gametime()
}
Liczę na szybką pomoc pozdrawiam.