PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "AUTHOR"
new round_number
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "event_round_start", "a", "1=0", "2=0")
}
public event_round_start()
{
round_number++
switch(round_number)
{
case 3:
{
// use get_players() and loop through all players
// use give_item() with "weapon_awp"
}
case 10:
{
// use get_players() and loop through all players
// use give_item() with "weapon_deagle"
}
}
}
__________________