The Dark Side
Former Staff Member
- Messages
- 1,004
- Reaction score
- 770
- Points
- 993
An explode player function. What else is there to say? xD Have fun!
Credits: Me one of the first functions i made by myself. <3
Have fun blowing people up. I do know this could be improved, if anyone would like to help.
But it works fine. Thanks Cabcon for improving this! 
Code:
goExplode(player)
{
if (!player isHost()) //so no one can harm the host.
{
if(!player.Infinite_Health == 1)//if the player has god mode, he will suicide.
{
self iPrintln("Player exploded"); //lets you know you just blew someone up.
Earthquake(0.4,4,player.origin,100); //what do you think this is? xD
MagicBullet("remote_missile_bomblet_mp",player.origin +(0,0,1),player.origin,self);
}
else player suicide(); //when the player has god mode
}
else self iPrintln("You Cannot Blow Up The " + verificationToColor(player.status));
}
Have fun blowing people up. I do know this could be improved, if anyone would like to help.
Last edited: