Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
CrimsonTautology committed Mar 1, 2021
1 parent 2fc9edb commit 1332e9f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions addons/sourcemod/scripting/weapon_only_fof.sp
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,6 @@ ForceEquipWeapon(client, const String:weapon[])
ClientCommand(client, tmp);
}

ForceEquipWeaponAll(const String:weapon[])
{
for (new client=1; client <= MaxClients; client++)
{
if(!IsClientInGame(client)) continue;
if(!IsPlayerAlive(client)) continue;

ForceEquipWeapon(client, weapon);
}
}

public Action:Timer_Repeat(Handle:timer)
{
if(!IsWeaponOnlyEnabled()) return Plugin_Continue;
Expand Down Expand Up @@ -271,7 +260,6 @@ public WeaponOnlyMenuHandler(Handle:menu, MenuAction:action, param1, param2)
{
case MenuAction_Select:
{
new client = param1;
new String:weapon[32];
GetMenuItem(menu, param2, weapon, sizeof(weapon));

Expand Down

0 comments on commit 1332e9f

Please sign in to comment.