thanks, and what is wrong with this command
Code:
give_item(id, "weapon_he")
the whole code
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <hamsandwich>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1)
}
public fwHamPlayerSpawnPost(id)
if (is_user_alive(id))
{
if (get_user_flags(id) & ADMIN_CHAT)
strip_user_weapons(id)
give_item(id, "weapon_knife")
give_item(id, "weapon_he")
give_item(id, "weapon_sg")
give_item(id, "weapon_fb")
give_item(id, "weapon_fb")
}
it does strip the weapons, and i do get a knife, and a bomb. but no grenades. wrong code, right?
__________________