SDKHooks_DropWeapon
Forces a client to drop the specified weapon
native void SDKHooks_DropWeapon(int client, int weapon, const float vecTarget[3] = NULL_VECTOR, const float vecVelocity[3] = NULL_VECTOR, bool bypassHooks = true)
Parameters
int weapon
Weapon entity index.
const float[3] vecTarget
Location to toss weapon to, or NULL_VECTOR for default.
const float[3] vecVelocity
Velocity at which to toss weapon, or NULL_VECTOR for default.
bool bypassHooks
If true, bypass SDK hooks on Weapon Drop
Return Value
voidError
Invalid client or weapon entity, weapon not owned by client.