hi , can some 1 help me figure out how to use get_user_menu the right way . I want to make it so if the menu disapeers the player dies , so they have to pick from the menu or die , forcing them to practice with the weapons i want . i cant seem to get it rite. I tried to do
Code:
public ak_show(id, key)
{
if(key == 0) // yes
{
fm_give_item(id, "weapon_ak47");
cs_set_user_bpammo(id , CSW_AK47 , 200);
}
else
{
if(key == 2)
{
user_kill(id);
}
else
{
if(get_user_menu(id)==0)
{
user_kill(id);
}
}
return PLUGIN_CONTINUE;
}
thanks