Re: [HELP] Only Sniper Map
Re: [HELP] Only Sniper Map
Re: [HELP] Only Sniper Map
You can't do this:
Code:
if((gServerLogic.ginfo_.flags & GBGameInfo::SFLAGS_DisableASR) && wpn->getCategory() == storecat_ASR || storecat_SHTG || storecat_SMG)
To work you need to use this code (i think):
Code:
if((gServerLogic.ginfo_.flags & GBGameInfo::SFLAGS_DisableASR) && wpn->getCategory() == storecat_ASR || wpn->getCategory() == storecat_SHTG || wpn->getCategory() == storecat_SMG)
Re: [HELP] Only Sniper Map
Code:
if((gServerLogic.ginfo_.flags & GBGameInfo::SFLAGS_DisableASR) && wpn->getCategory() == storecat_ASR || wpn->getCategory() == storecat_SHTG || wpn->getCategory() == storecat_SMG)
i am using but people log with ASR = the animation dont open but when u are using SHTG or SMG u can shot but gets DC
Re: [HELP] Only Sniper Map
try this
code
Quote:
if((gServerLogic.ginfo_.flags & GBGameInfo::SFLAGS_DisableSNP) && wpn->getCategory() == storecat_ASR || wpn->getCategory() == storecat_SHTG || wpn->getCategory() == storecat_SMG)