[Add-On]FlashBang Command

Newbie Spellweaver
Joined
Mar 2, 2011
Messages
28
Reaction score
5
FlashBang GM Command, Call of Duty style!!! v83+
Code:
} else if (splitted[0].equals("flashbang")) {
            MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
            if (victim != null) {
               for (int i = 0; i < 29; i++)
                victim.changeMap(913040106);
                victim.changeMap(910000000);
                victim.dropMessage(6, "You have been flash banged mother fucker!");
                player.dropMessage(6, "You have flash banged the *****!");
            } else {
                player.dropMessage("Player not found");
            }
Put this in your GMcommand.java file and compile :D
 
Last edited by a moderator:
Re: FlashBang Command

Code:
} else if (splitted[0].equals("flashbang")) {
            MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
            if (victim != null) {
               for (int i = 0; i < 29; i++)
                victim.changeMap(913040106);
                victim.changeMap(910000000);
                victim.dropMessage(6, "You have been flash banged mother fucker!");
                player.dropMessage(6, "You have flash banged the *****!");
            } else {
                player.dropMessage("Player not found");
            }

Quit wasting my hard disk space!
 
Re: FlashBang Command

Code:
} else if (splitted[0].equals("flashbang")) {
            MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
            if (victim != null) {
               for (int i = 0; i < 29; i++)
                victim.changeMap(913040106);
                victim.changeMap(910000000);
                victim.dropMessage(6, "You have been flash banged mother fucker!");
                player.dropMessage(6, "You have flash banged the *****!");
            } else {
                player.dropMessage("Player not found");
            }

Quit wasting my hard disk space!

Lol. Thanks.
 
Re: FlashBang Command

So you're compairing being changed a map twice and getting dropped some messages a flashbang? When i read the title i was expecting something a little bit more... useful?
I'm guessing this means that you don't understand how to read code? If you look closely it repeats the map changes 30 times.

ONTOPIC: Wouldn't placing the dropMessage functions where you put them, make it repeat the messages 30 times? :?:
 
Re: FlashBang Command

isn't this kinda counterintuitive, flash bangs are supposed to make you all flashy and theres supposed to be a huge white bright light (if this is CoD style), but all you get here is just a huge black screen...?
 
Re: FlashBang Command

isn't this kinda counterintuitive, flash bangs are supposed to make you all flashy and theres supposed to be a huge white bright light (if this is CoD style), but all you get here is just a huge black screen...?

If you go to the maps, one of them is all white, and the other is all black I think. So it would create a flashing. However, before doing this command I think you may want to make sure the person isn't epileptic. Jussaying.
 
Back