Put infection handling in its own core module, added infect sound to downloads table, updated cvars, made an account module (handles cash), zombies now drop weapons on infect (all of them), removed RemoveAllItems, weapon api can handle it and its unneeded now.
This commit is contained in:
@ -297,7 +297,7 @@ Float:WeaponGetWeaponKnockback(const String:weapon[])
|
||||
/**
|
||||
* General weapon API.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Return an array that contains all client's weapon indexes.
|
||||
*
|
||||
@ -358,4 +358,16 @@ WeaponsType:WeaponsGetDeployedWeaponSlot(client)
|
||||
}
|
||||
|
||||
return Type_Invalid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Forces player to drop weapon index.
|
||||
*
|
||||
* @param client The client index.
|
||||
* @param weapon The weapon index to force client to drop.
|
||||
*/
|
||||
WeaponForceClientDrop(client, weapon)
|
||||
{
|
||||
// Force client to drop weapon.
|
||||
SDKCall(g_hCSWeaponDrop, client, weapon, true, false);
|
||||
}
|
Reference in New Issue
Block a user