Quote:
Originally Posted by wickedd
Strip their weapons first, then give them a weapon.
PHP Code:
if(is_user_alive(player) && get_user_flags(player) & ADMIN_LEVEL_G) { strip_user_weapons( player) give_item(player, "weapon_deagle") give_item(player, "ammo_50ae") give_item(player, "ammo_50ae") give_item(player, "ammo_50ae" if (!get_pcvar_num(g_menu_active)) return PLUGIN_CONTINUE if(CurrentRound >= 3) { Showrod(player); } } }
|
PHP Code:
strip_user_weapons( player)
what should I do there? Do I change ( player) into something?
Because when I compile it, It gives me 1 warning on that line... What should I do?
and when I deleted that line:
PHP Code:
strip_user_weapons( player)
It doesn't show an error.