[HELP] Only Sniper Map

Results 1 to 6 of 6
  1. #1
    Apprentice teddydoido is offline
    MemberRank
    Sep 2009 Join Date
    Sumaré, BrazilLocation
    11Posts

    ! [HELP] Only Sniper Map

    Hello, I am Using ISS Source

    Code:
    Code:
    if((gServerLogic.ginfo_.flags & GBGameInfo::SFLAGS_DisableASR) && wpn->getCategory() == storecat_ASR && storecat_SHTG && storecat_SMG)
    This way only block ASR Shot guns and sub machine still working.

    i Tried use Code:
    Code:
    if((gServerLogic.ginfo_.flags & GBGameInfo::SFLAGS_DisableASR) && wpn->getCategory() == storecat_ASR || storecat_SHTG || storecat_SMG)
    But everyone when shoot gets DC

    Someone help please!


  2. #2
    Member Rigor Mortis is offline
    MemberRank
    Jan 2015 Join Date
    ?Location
    89Posts

    Re: [HELP] Only Sniper Map

    What src ?

  3. #3
    Apprentice teddydoido is offline
    MemberRank
    Sep 2009 Join Date
    Sumaré, BrazilLocation
    11Posts

    Re: [HELP] Only Sniper Map

    I am Using ISS Source

  4. #4
    Account Upgraded | Title Enabled! Dragonbooss is offline
    MemberRank
    May 2013 Join Date
    BrazilLocation
    267Posts

    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)

  5. #5
    Apprentice teddydoido is offline
    MemberRank
    Sep 2009 Join Date
    Sumaré, BrazilLocation
    11Posts

    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

  6. #6
    Valued Member francovegini is offline
    MemberRank
    Apr 2014 Join Date
    BrazilLocation
    135Posts

    Re: [HELP] Only Sniper Map

    try this

    code
    if((gServerLogic.ginfo_.flags & GBGameInfo::SFLAGS_DisableSNP) && wpn->getCategory() == storecat_ASR || wpn->getCategory() == storecat_SHTG || wpn->getCategory() == storecat_SMG)



Advertisement