@OP
I don't know anything about ZP coding, but here's the rest.
Code:
public fwHamPlayerSpawnPost(player) {
if(get_user_flags(player) & ADMIN_LEVEL_H)
{
give_item(player, "weapon_hegrenade");
cs_set_user_bpammo(player, CSW_HEGRENADE, 2);
give_item(player, "weapon_flashbang");
give_item(player, "weapon_flashbang");
give_item(player, "weapon_smokegrenade");
cs_set_user_bpammo(player, CSW_SMOKEGRENADE, 2);
give_item(player, "item_assaultsuit");
give_item(player, "item_thighpack");
}
}
@FlyingHorse
That code is horrid.
Learn scripting before helping others.
__________________