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:
@ -139,9 +139,9 @@ bool:ClassApplyOverlay(client, classindex, cachetype = ZR_CLASS_CACHE_PLAYER)
|
||||
}
|
||||
|
||||
// If client doesn't meet minimum requirement, then print unsupported text.
|
||||
if (dxLevel[client] < GENERAL_MIN_DXLEVEL)
|
||||
if (dxLevel[client] < GENERAL_DXLEVEL_MIN)
|
||||
{
|
||||
ZR_PrintCenterText(client, "DX90 not supported", dxLevel[client], GENERAL_MIN_DXLEVEL);
|
||||
ZR_PrintCenterText(client, "DX90 not supported", dxLevel[client], GENERAL_DXLEVEL_MIN);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -9,6 +9,11 @@
|
||||
* ============================================================================
|
||||
*/
|
||||
|
||||
/**
|
||||
* Default FOV attribute value.
|
||||
*/
|
||||
#define ATTRIBUTES_FOV_DEFAULT 90
|
||||
|
||||
/*
|
||||
* ------------------------------------
|
||||
*
|
||||
|
@ -37,6 +37,9 @@ ClassOnClientDisconnect(client)
|
||||
|
||||
ClassOnClientSpawn(client)
|
||||
{
|
||||
// Reset client's FOV.
|
||||
SetPlayerFOV(client, ATTRIBUTES_FOV_DEFAULT);
|
||||
|
||||
new bool:randomclass = GetConVarBool(g_hCvarsList[CVAR_CLASSES_RANDOM]);
|
||||
new bool:showmenu = GetConVarBool(g_hCvarsList[CVAR_CLASSES_SPAWN]);
|
||||
decl String:steamid[16];
|
||||
@ -92,7 +95,6 @@ ClassOnClientInfected(client, bool:motherzombie = false)
|
||||
|
||||
ClassOnRoundStart()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user