Blokada HE 10 sec po starcie Rundy
macio24a
11.04.2012
To nie to
bo w tym zadaje dmg jak ktos wyciagnie HE a ja chce żeby się nie dało wyciągnać
Ale masz +
Użytkownik macio24a edytował ten post 11.04.2012 17:22
Ale masz +
Użytkownik macio24a edytował ten post 11.04.2012 17:22
Raitaa
11.04.2012
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "BLOKADA HE"
#define VERSION "1.0"
#define AUTHOR "asdf"
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 < 10.0)
{
engclient_cmd(id, "weapon_knife")
client_print(id, print_center, "HE dopiero po 10 sekundach")
}
}
public Round_Start()
{
gametime = get_gametime()
}
Użytkownik Raitaa edytował ten post 11.04.2012 17:49
sebul
11.04.2012
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "BLOKADA HE"
#define VERSION "1.0"
#define AUTHOR "asdf"
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 < 10.0)
{
engclient_cmd(id, "weapon_knife")
client_print(id, print_center, "HE dopiero po 10 sekundach")
}
}
public Round_Start()
{
gametime = get_gametime()
}
Nie zadziała, bo granat będzie można wyciągnąć, gdy będzie freezetime, do startu rundy trzeba użyć eventu hltv.




