ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1703

Just Something Random xD

by trinity7 - 04-17-2019 - 07:39 AM
#1
Just Something Random (Nothing Special Aha), Turn This On In A Session To Troll People. Basically If  A Player In The Lobby Gets Killed, The Person Who Killed Them Will Be Blown Up, And The Victim Will Get A Spoofed Message Saying "Your Death Was Avenged" (Feel Free To Change This Of Course xD), Something Like This May Have Been Posted Somewhere On This Forum But I've Not Seen Anything So Just Made This And Posted Here.

No Hide Tags Needed Btw.

Code:
if (AvengeAllFunc){
        int i;
        int Retard;
        for (i = 0; i < 18; i++) {
            if (i == PLAYER::PLAYER_ID()) continue;
            if (ENTITY::IS_ENTITY_DEAD(PLAYER::GET_PLAYER_PED(i)))
            {
                Retard = PED::_0x84ADF9EB(PLAYER::GET_PLAYER_PED(i));
                if (!ENTITY::IS_ENTITY_DEAD(Retard))
                {
                    CreateEntityExplosion(Retard, GRENADE, 0, 0);
                    SpoofedMessage(i, "Your Death Was Avenged :)");
                }
            }
        }
    }
2021 Best Be Better Then 2020
#2
(04-17-2019 - 07:39 AM)trinity7 Wrote: Just Something Random (Nothing Special Aha), Turn This On In A Session To Troll People. Basically If  A Player In The Lobby Gets Killed, The Person Who Killed Them Will Be Blown Up, And The Victim Will Get A Spoofed Message Saying "Your Death Was Avenged" (Feel Free To Change This Of Course xD), Something Like This May Have Been Posted Somewhere On This Forum But I've Not Seen Anything So Just Made This And Posted Here.

No Hide Tags Needed Btw.

Code:
if (AvengeAllFunc){
        int i;
        int Retard;
        for (i = 0; i < 18; i++) {
            if (i == PLAYER::PLAYER_ID()) continue;
            if (ENTITY::IS_ENTITY_DEAD(PLAYER::GET_PLAYER_PED(i)))
            {
                Retard = PED::_0x84ADF9EB(PLAYER::GET_PLAYER_PED(i));
                if (!ENTITY::IS_ENTITY_DEAD(Retard))
                {
                    CreateEntityExplosion(Retard, GRENADE, 0, 0);
                    SpoofedMessage(i, "Your Death Was Avenged :)");
                }
            }
        }
    }
thx
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
#3
Revenge code? Lol
#4
(04-17-2019 - 03:53 PM)BModzMasterTM Wrote: Revenge code? Lol

?
2021 Best Be Better Then 2020
#5
(04-17-2019 - 07:39 AM)trinity7 Wrote: Just Something Random (Nothing Special Aha), Turn This On In A Session To Troll People. Basically If  A Player In The Lobby Gets Killed, The Person Who Killed Them Will Be Blown Up, And The Victim Will Get A Spoofed Message Saying "Your Death Was Avenged" (Feel Free To Change This Of Course xD), Something Like This May Have Been Posted Somewhere On This Forum But I've Not Seen Anything So Just Made This And Posted Here.

No Hide Tags Needed Btw.

Code:
if (AvengeAllFunc){
        int i;
        int Retard;
        for (i = 0; i < 18; i++) {
            if (i == PLAYER::PLAYER_ID()) continue;
            if (ENTITY::IS_ENTITY_DEAD(PLAYER::GET_PLAYER_PED(i)))
            {
                Retard = PED::_0x84ADF9EB(PLAYER::GET_PLAYER_PED(i));
                if (!ENTITY::IS_ENTITY_DEAD(Retard))
                {
                    CreateEntityExplosion(Retard, GRENADE, 0, 0);
                    SpoofedMessage(i, "Your Death Was Avenged :)");
                }
            }
        }
    }

good idea
#6
Good job simple but cool

Users browsing: 2 Guest(s)