Skip to content

Client_HasWeapon non-functional with weapon_m4a1_silencer (csgo) #38

@DrKittens

Description

@DrKittens

if(Client_HasWeapon(client, "weapon_m4a1_silencer"))
{
ReplyToCommand(client, "You are holding an m4a1-s");
return Plugin_Handled;
}
else
{
ReplyToCommand(client, "You are not holding an m4a1-s");
return Plugin_Handled;
}

Will always return false even when the condition is met.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions