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
show_hudmessage(0,"You have choose knife duel.")
}
case 2:
{
if( is_user_alive(id) )
//disarm team
strip_user_weapons
// 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 choose shoot for shoot.")
}
}
is it good ?