[SGO] = Shotgun Only. My style

Results 1 to 9 of 9
  1. #1
    Pandora imback is offline
    MemberRank
    Dec 2011 Join Date
    408Posts

    [SGO] = Shotgun Only. My style

    So here it is.

    Find on ZCharacterItem
    case MMCIP_PRIMARY:
    case MMCIP_SECONDARY:
    {
    if (pDesc->m_nType.Ref() != MMIT_RANGE)
    {
    return false;
    }
    }
    break;
    Replace to :
    case MMCIP_PRIMARY:
    case MMCIP_SECONDARY:
    {
    if (pDesc->m_nType.Ref() != MMIT_RANGE)
    {
    return false;
    }
    if (strstr(strlwr((char*)ZGetGameClient()->GetStageName()), "[SGO]"))
    {
    MMatchWeaponType pItem = pDesc->m_nWeaponType.Ref();
    if (pItem > 0 && pItem < 18)
    {
    if (pItem != MWT_SHOTGUN)
    return false;
    }
    }
    }
    break;
    Tell if there any problem for.

    Thanks to Lib
    Like button accept too here.


  2. #2
    Member Sahar Tales Gun is offline
    MemberRank
    Aug 2014 Join Date
    61Posts

    Re: [SGO] = Shotgun Only. My style

    it's disable all except shotguns? if yes thx i use it :)

  3. #3
    Pandora imback is offline
    MemberRank
    Dec 2011 Join Date
    408Posts

    Re: [SGO] = Shotgun Only. My style

    Only shotgun can give damage.
    if you use Sawed Shotgun add sawed shotgun too.

  4. #4
    Member Sahar Tales Gun is offline
    MemberRank
    Aug 2014 Join Date
    61Posts

    Re: [SGO] = Shotgun Only. My style

    hmm u mean [sgo] = can't use rifle or sniper or something?
    Last edited by Sahar Tales Gun; 12-09-14 at 02:09 PM.

  5. #5
    Account Upgraded | Title Enabled! Lib is offline
    MemberRank
    Oct 2013 Join Date
    281Posts

    Re: [SGO] = Shotgun Only. My style

    Nice release.

  6. #6
    Pandora imback is offline
    MemberRank
    Dec 2011 Join Date
    408Posts

    Re: [SGO] = Shotgun Only. My style

    Thanks man for give clue.

  7. #7
    Yaaay! Tannous is offline
    MemberRank
    Jul 2012 Join Date
    KonohaLocation
    840Posts

    Re: [SGO] = Shotgun Only. My style

    Eventhough it was obvious, but nice release though :D

  8. #8
    Member Gunzlatinov3 is offline
    MemberRank
    Nov 2016 Join Date
    PeruLocation
    74Posts

    Re: [SGO] = Shotgun Only. My style

    .CPP o .H ?

  9. #9
    I'm retired, I'm already jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    879Posts

    Re: [SGO] = Shotgun Only. My style

    Quote Originally Posted by Gunzlatinov3 View Post
    .CPP o .H ?
    in ZCharacterItem read please...

    - - - Updated - - -

    Quote Originally Posted by imback View Post
    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 && pItem 18)
                {
                    if (
    pItem != MWT_SHOTGUN)
                        return 
    false;
                }
            }
        }
        break; 



Advertisement