PS3 Some Helpful Sources

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

SHoCKxWAVE

Member
CC Dev Team
Aug 31, 2017
49
39
78
This might be very helpful to detect whos trying to fire a freeze weapon and can stop it before it happen, unless the person is running protection event then its useless xD, but at less you know who done it


Code:
if(Prot_Animation){
    int tmp_wep = 0;
    int PlayerRocket;
    Ped tmp_ped;
    char* printmodel;
    bool player_has_wep = false;
    for (PlayerRocket = 0;PlayerRocket < 16 ; PlayerRocket++){
    if (PlayerRocket == iPlayer || Invalid_Player (PlayerRocket) || !PLAYER_HAS_CHAR(PlayerRocket)) continue;   
        if (!IS_PLAYER_PRESENT(PlayerRocket))
        {
            SetBit(PrintedRocketNotifyBitSet, PlayerRocket, false);
            SetBit(PrintedRocketNotifyBitSet, (PlayerRocket + 16), false);
            continue;
        }
        if (!PLAYER_HAS_CHAR(PlayerRocket)) continue;
        GET_PLAYER_CHAR(PlayerRocket, &tmp_ped);
        player_has_wep = (HAS_CHAR_GOT_WEAPON(tmp_ped, WEAPON_EPISODIC_19) || HAS_CHAR_GOT_WEAPON(tmp_ped, WEAPON_EPISODIC_18) || HAS_CHAR_GOT_WEAPON(tmp_ped, WEAPON_ROCKET));

        if (!player_has_wep)
        {
            SetBit(PrintedRocketNotifyBitSet, PlayerRocket, false);
            SetBit(PrintedRocketNotifyBitSet, (PlayerRocket + 16), false);
            continue;
        }

        tmp_wep = 0;
        GET_CURRENT_CHAR_WEAPON(tmp_ped, &tmp_wep);
        if(Prot_Animation_Setup1){// OFW SAVE
            if (!GetBit(PrintedRocketNotifyBitSet, (PlayerRocket + 16)))
            {
                if (tmp_wep == WEAPON_ROCKET)printmodel = "~y~Rocket";
                else if (tmp_wep == WEAPON_EPISODIC_18 || tmp_wep == WEAPON_EPISODIC_19)printmodel = "~y~Missile";
                    
                if (tmp_wep == WEAPON_ROCKET)            REMOVE_WEAPON_FROM_CHAR(tmp_ped, WEAPON_ROCKET);
                else if (tmp_wep == WEAPON_EPISODIC_18) REMOVE_WEAPON_FROM_CHAR(tmp_ped, WEAPON_EPISODIC_18);
                else if (tmp_wep == WEAPON_EPISODIC_19) REMOVE_WEAPON_FROM_CHAR(tmp_ped, WEAPON_EPISODIC_19);
                
                char buffer[32];
                Strcpy(buffer, "");
                PLAYER_NAME_WITH_COLOUR(PlayerRocket, &buffer);
                Strcat(buffer, " ~s~Was ~g~Saved");
                Strcat(buffer, " ~s~From ~COL_NET_4~Freeze ");
                Strcat(buffer, printmodel);
                Alert(buffer, true);                   
                SetBit(PrintedRocketNotifyBitSet, (PlayerRocket + 16), true);
            }
        }
        //After this your self will freeze if you dont edit your rpf files
        if(Prot_Animation_Setup2){
            if (IS_CHAR_SHOOTING(tmp_ped) && tmp_wep == WEAPON_ROCKET || tmp_wep == WEAPON_EPISODIC_18 || tmp_wep == WEAPON_EPISODIC_19 && !GetBit(PrintedRocketNotifyBitSet, PlayerRocket))
            {
                if (tmp_wep == WEAPON_ROCKET)printmodel = "~y~Rocket";
                else if (tmp_wep == WEAPON_EPISODIC_18 || tmp_wep == WEAPON_EPISODIC_19)printmodel = "~y~Missile";
                
                char buffer[32];
                Strcpy(buffer, "");
                PLAYER_NAME_WITH_COLOUR(PlayerRocket, &buffer);
                Strcat(buffer, " ~s~Tried Using ~COL_NET_4~Freeze ");
                Strcat(buffer, printmodel);
                Strcat(buffer, " ~s~You");
                Alert(buffer, true);   
                SetBit(PrintedRocketNotifyBitSet, PlayerRocket, true);
            }
        }
        //Done
    }
}
 
General chit-chat
Help Users
  • @ QM|T_JinX:
    u got bo 7
  • @ lurch6661:
    nah not yet
  • @ QM|T_JinX:
    if you get it let us play some matches /.?
  • @ QM|T_JinX:
    just for the fun of it no worries
  • @ lurch6661:
    hell yea
  • @ QM|T_JinX:
    cool let me know if and when you going to get it we can play
  • @ QM|T_JinX:
    i going to watch the witcher now hahah
  • @ lurch6661:
    lol ok tc bro
  • @ QM|T_JinX:
    tc brother if there is somthing just text
  • @ ANGUS0023233:
    Been awhile
  • @ QM|T_JinX:
    sup bro
  • @ ANGUS0023233:
    Do you got BF6 jinx?
  • @ QM|T_JinX:
    no i dont
  • @ QM|T_JinX:
    kept Diein to that f%cking game haha
  • @ QM|T_JinX:
    not sure if i type that correct haha i died alot on that game in beta
  • @ ANGUS0023233:
    Ah you tried playing the Battlefield 6 alpha labs beta. I only played the Alpha Beta then Open beta then the game itself since i enjoyed it all lot
  • @ QM|T_JinX:
    it a good lookin game for sure but im not as good anymore in that game haha
    so it seems hahah
  • @ lurch6661:
    high
  • @ QM|T_JinX:
    high
  • @ QM|T_JinX:
    bro im not on messager ok if im online on there ppl start to message me dont feel like going on and on on text
  • @ lurch6661:
    ok bro
  • @ QM|T_JinX:
    nothing agains you you know that right just dont feel like answer all those text the hole time
  • @ lurch6661:
    i understand trust m e lol
  • @ QM|T_JinX:
    by the way i unlocked the gold camo on bo7 looks pretty cool hahah
  • @ lurch6661:
    lol
      @ lurch6661: lol