CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Explode Player
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="The Dark Side" data-source="post: 152" data-attributes="member: 49"><p>An explode player function. What else is there to say? xD Have fun! <img src="/styles/default/xenforo/smilies.emoji/people/slight_smile.emoji.svg" class="smilie" loading="lazy" alt=":smile:" title="Smile :smile:" data-shortname=":smile:" /> Credits: Me one of the first functions i made by myself. <3</p><p></p><p>[CODE]goExplode(player)</p><p>{</p><p> if (!player isHost()) //so no one can harm the host.</p><p> {</p><p> if(!player.Infinite_Health == 1)//if the player has god mode, he will suicide.</p><p> {</p><p> self iPrintln("Player exploded"); //lets you know you just blew someone up.</p><p> Earthquake(0.4,4,player.origin,100); //what do you think this is? xD</p><p> MagicBullet("remote_missile_bomblet_mp",player.origin +(0,0,1),player.origin,self);</p><p> }</p><p> else player suicide(); //when the player has god mode</p><p> }</p><p> else self iPrintln("You Cannot Blow Up The " + verificationToColor(player.status));</p><p>}[/CODE]</p><p></p><p>Have fun blowing people up. I do know this could be improved, if anyone would like to help. <img src="/styles/default/xenforo/smilies.emoji/people/stuck_out_tongue_closed_eyes.emoji.svg" class="smilie" loading="lazy" alt=":tongueclosed:" title="Tongue Closed Eyes :tongueclosed:" data-shortname=":tongueclosed:" /> But it works fine. Thanks Cabcon for improving this! <img src="/styles/default/xenforo/smilies.emoji/people/stuck_out_tongue_closed_eyes.emoji.svg" class="smilie" loading="lazy" alt=":tongueclosed:" title="Tongue Closed Eyes :tongueclosed:" data-shortname=":tongueclosed:" /></p></blockquote><p></p>
[QUOTE="The Dark Side, post: 152, member: 49"] 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 [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)); }[/CODE] Have fun blowing people up. I do know this could be improved, if anyone would like to help. :p But it works fine. Thanks Cabcon for improving this! :p [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Explode Player
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top