You don't need all those included, and you forgot to check if the player was alive in the spawn and forgot the vesthelm.
PHP Code:
#include <amxmodx>
#include <fun>
#include <colorchat>
#include <hamsandwich>
#include <cstrike>
#define VIP-ACC ADMIN_LEVEL_H
new VIPhealth
public plugin_init()
{
register_plugin( "VIP Privilage", "1.0", "(K![L]leR-ND)" )
RegisterHam(Ham_Spawn, "player", "Privilage", 1)
VIPhealth = register_cvar("health_VIP", "100")
}
public Privilage(id)
{
if(is_user_alive(id) && get_user_flags( id ) & VIP-ACC )
{
ColorChat(id, GREEN, "^1[ ^4GameOver ^1] ^3You got^1 100HP ^3-^1 Full nade Pack")
set_user_health(id, get_pcvar_num(VIPhealth))
give_item(id, "weapon_hegrenade")
give_item(id, "weapon_flashbang")
give_item(id, "weapon_flashbang")
give_item(id, "weapon_smokegrenade")
cs_set_user_armor ( id, 100, CS_ARMOR_VESTHELM )
}
}
__________________