Hello, i'm trying to make so that when you purhcase a super knife, it will deal 188 damage i've tried doing this
PHP Code:
case 7:
{
if(cs_get_user_money(id) < 16000)
{
client_print( id, print_chat,"%L",id, "SHOP_ITEM_LOST");
return PLUGIN_HANDLED;
}
else
{
cs_take_user_money(id, 16000)
if( get_user_weapon(id) == CSW_KNIFE ) {
SetHamParamFloat(0, 100.0)
}
client_print( id, print_chat,"%L",id, "SHOP_ITEMT_7");
}
}
but it don't wrok, anyone here can help me ?
+KARMA
__________________