I have this Funktion and the CT īs dont get a deagle or m4
Pls say me what i done Wrong
Code:
public Player_Spawn_Post( id )
{
if( is_user_alive(id) )
{
strip_user_weapons(id)
set_pdata_int(id, OFFSET_PRIMARYWEAPON, 0)
give_item(id, "weapon_knife")
if( cs_get_user_team(id) == CS_TEAM_CT )
{
give_item(id, "weapon_deagle")
cs_set_user_bpammo(id, CSW_DEAGLE, 35)
give_item(id, "weapon_m4a1")
cs_set_user_bpammo(id, CSW_M4A1, 90)
cs_set_user_armor(id, 100, CS_ARMOR_VESTHELM)
}
}
}