
Originally Posted by
Gunzlatinov3
.CPP o .H ?
in ZCharacterItem read please...
- - - Updated - - -

Originally Posted by
imback
So here it is.
Find on ZCharacterItem
Replace to :
Tell if there any problem for.
Thanks to Lib
Like button accept too here.
PHP Code:
case MMCIP_PRIMARY:
case MMCIP_SECONDARY:
{
if (pDesc->m_nType.Ref() != MMIT_RANGE)
{
return false;
}
if ((strstr(ZGetGameClient()->GetStageName(), "[sgo]")) || (strstr(ZGetGameClient()->GetStageName(), "[SGO]")))
{
MMatchWeaponType pItem = pDesc->m_nWeaponType.Ref();
if (pItem > 0 && pItem < 18)
{
if (pItem != MWT_SHOTGUN)
return false;
}
}
}
break;