Hey!
I made a code that is supposed to give all the CT players each round a defusal kit.
Still it is not working, tell me why?
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
#define PLUGIN "Defuse Kit"
#define VERSION "1.0"
#define AUTHOR "p1Mp"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
// Add your code here...
}
public round_start()
{
new players[32], num, id
get_players(players, num, "aeh", "CT")
for(new i = 0; i < num; i++)
{
id = players[i]
give_item(id, "item_thighpack")
}
}