You missed the parameters on it.
PHP Code:
switch(key)
{
case 1:
{
if( is_user_alive(id) )
give_item(id, "weapon_knife");
set_user_health(id, 100);
set_hudmessage(50, 255)
//disarm all
strip_user_weapons(id)
show_hudmessage(0,"You have chosen knife duel.")
}
case 2:
{
if( is_user_alive(id) )
//disarm team
strip_user_weapons (id)
// they delay them has 100hp as well as a deagle
set_user_health(id, 100);
give_item(id,"weapon_deagle")
cs_set_user_bpammo(id,CSW_DEAGLE,200)
set_hudmessage(50, 255)
show_hudmessage(0,"You have chosen shoot for shoot.")
}
See how I included (id) after strip_user_weapons.
Also, I dont know if the rest of your code will work. Youll need to wait for someone else to answer that
__________________