WTF!? When i compile plugin are error
Quote:
|
warning 209 : function "give_stuff" should return a value
|
With
bold is marked place where is error
Quote:
public give_stuff(id)
{
if(!is_user_alive(id)) return PLUGIN_HANDLED;
else if(get_user_flags(id) & ADMIN_LEVEL_H)
{
fm_give_item(id, "item_assaultsuit");
fm_give_item(id, "weapon_flashbang");
fm_give_item(id, "weapon_flashbang");
fm_give_item(id, "weapon_hegrenade");
fm_give_item(id, "weapon_smokegrenade");
set_user_gravity (id, 0.75);
cs_set_weapon_ammo(fm_give_item( id, "weapon_scout" ), 0);
cs_set_user_bpammo(id, CSW_SCOUT, 0);
return PLUGIN_CONTINUE
}
}
|