Added ragdoll module that removes ragdolls normally or with effects.

*Added log entries, fixed typo.
*Fixed some errors caused by disabling the weapons module.
*Replaced strcmp with StrEqual
This commit is contained in:
Greyscale
2009-06-07 21:05:50 -07:00
parent 208fe7fe28
commit d0c25862d8
14 changed files with 267 additions and 50 deletions

View File

@ -190,6 +190,16 @@ ZMarketGetPurchaseCount(client, const String:weapon[])
*/
bool:ZMarketMenuTypes(client)
{
// If weapons module is disabled, then stop.
new bool:weapons = GetConVarBool(g_hCvarsList[CVAR_WEAPONS]);
if (!weapons)
{
// Telle client feature is disabled.
TranslationPrintToChat(client, "Feature is disabled");
return false;
}
// If ZMarket module is disabled, then stop.
new bool:zmarket = GetConVarBool(g_hCvarsList[CVAR_WEAPONS_ZMARKET]);
if (!zmarket)
{