Imported fix from dev: 646:25e5741ab71e - Moved the IsClientInBuyzone stock to the weapons module from ZMarket, and stop the "Zombies can't use weapons" phrase when using autobuy outside of a buyzone.
This commit is contained in:
@ -155,6 +155,12 @@ ClassOverlayInitialize(client, const String:overlay[])
|
||||
*/
|
||||
public Action:ClassOverlayEnableCommand(client, argc)
|
||||
{
|
||||
// If client isn't valid, then stop.
|
||||
if (!ZRIsClientValid(client))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// If overlay toggle is disabled, then stop.
|
||||
new bool:overlaytoggle = GetConVarBool(g_hCvarsList[CVAR_CLASSES_OVERLAY_TOGGLE]);
|
||||
if (!overlaytoggle)
|
||||
|
Reference in New Issue
Block a user