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
SCRIPT - KILLED CAMPER
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="xBeaTzMoDz™" data-source="post: 23325" data-attributes="member: 1823"><p><strong><span style="font-size: 15px">Hello CabConModding Members</span></strong></p><p></p><p style="text-align: center"><strong><span style="font-size: 18px">GSC Script Killed Camper</span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px">1 BUG; The camping player can be killed 1 time only (I dont know why i tried all to fix it but it wont work)</span></strong></p><p></p><ul> <li data-xf-list-type="ul"><strong><span style="font-size: 18px">Video : </span></strong></li> </ul><p><span style="font-size: 18px"><strong>[SPOILER]</strong></span></p><p><span style="font-size: 18px"><strong><strong>Pc Version :</strong> </strong></span></p><p><span style="font-size: 18px"><strong>[MEDIA=youtube]AmyhKlc5eAo[/MEDIA]</strong></span></p><p><span style="font-size: 18px"><strong><strong>Ps3 Version :</strong></strong></span></p><p><span style="font-size: 18px"><strong>[MEDIA=youtube]786mJez5y-4[/MEDIA]</strong></span></p><p><span style="font-size: 18px"><strong>[/SPOILER]</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong>Script - Killed Camper :</strong></span></p><p><span style="font-size: 18px"><strong>[CODE]</strong></span></p><p><span style="font-size: 18px"><strong>#include maps\mp\_utility;</strong></span></p><p><span style="font-size: 18px"><strong>#include common_scripts\utility;</strong></span></p><p><span style="font-size: 18px"><strong>#include maps\mp\gametypes\_hud_util;</strong></span></p><p><span style="font-size: 18px"><strong>#include maps\mp\gametypes\_hud_message;</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong>init()</strong></span></p><p><span style="font-size: 18px"><strong>{</strong></span></p><p><span style="font-size: 18px"><strong> level thread onPlayerConnect();</strong></span></p><p><span style="font-size: 18px"><strong>}</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong>onPlayerConnect()</strong></span></p><p><span style="font-size: 18px"><strong>{</strong></span></p><p><span style="font-size: 18px"><strong> for(;;)</strong></span></p><p><span style="font-size: 18px"><strong> {</strong></span></p><p><span style="font-size: 18px"><strong> level waittill("connected", player);</strong></span></p><p><span style="font-size: 18px"><strong> player thread onPlayerSpawned();</strong></span></p><p><span style="font-size: 18px"><strong> }</strong></span></p><p><span style="font-size: 18px"><strong>}</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong>onPlayerSpawned()</strong></span></p><p><span style="font-size: 18px"><strong>{</strong></span></p><p><span style="font-size: 18px"><strong> self endon("disconnect");</strong></span></p><p><span style="font-size: 18px"><strong> level endon("game_ended");</strong></span></p><p><span style="font-size: 18px"><strong> for(;;)</strong></span></p><p><span style="font-size: 18px"><strong> {</strong></span></p><p><span style="font-size: 18px"><strong> self waittill("spawned_player");</strong></span></p><p><span style="font-size: 18px"><strong> self iprintln("Black Ops 2 - GSC Script | Project : ^5Killed Camper");</strong></span></p><p><span style="font-size: 18px"><strong> wait 0.5;</strong></span></p><p><span style="font-size: 18px"><strong> self thread toggle_KilledCamper();</strong></span></p><p><span style="font-size: 18px"><strong> }</strong></span></p><p><span style="font-size: 18px"><strong>}</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong>toggle_KilledCamper()</strong></span></p><p><span style="font-size: 18px"><strong>{</strong></span></p><p><span style="font-size: 18px"><strong> self thread KilledCamper();</strong></span></p><p><span style="font-size: 18px"><strong> self iprintln("Killed Camper ^2Enabled");</strong></span></p><p><span style="font-size: 18px"><strong> return thread KilledCamper();</strong></span></p><p><span style="font-size: 18px"><strong>}</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong>KilledCamper()</strong></span></p><p><span style="font-size: 18px"><strong>{ </strong></span></p><p><span style="font-size: 18px"><strong> level waittill( "prematch_over" );</strong></span></p><p><span style="font-size: 18px"><strong> self endon("disconnect");</strong></span></p><p><span style="font-size: 18px"><strong> self endon( "death" );</strong></span></p><p><span style="font-size: 18px"><strong> my_camp_time = 0;</strong></span></p><p><span style="font-size: 18px"><strong> have_i_been_warned = false;</strong></span></p><p><span style="font-size: 18px"><strong> max_distance = 80;</strong></span></p><p><span style="font-size: 18px"><strong> camp_time = 10;</strong></span></p><p><span style="font-size: 18px"><strong> while( true )</strong></span></p><p><span style="font-size: 18px"><strong> {</strong></span></p><p><span style="font-size: 18px"><strong> old_position = self.origin;</strong></span></p><p><span style="font-size: 18px"><strong> wait 1;</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong> new_position = self.origin;</strong></span></p><p><span style="font-size: 18px"><strong> distance = distance2d( old_position, new_position );</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong> if( distance < max_distance )</strong></span></p><p><span style="font-size: 18px"><strong> my_camp_time++;</strong></span></p><p><span style="font-size: 18px"><strong> else</strong></span></p><p><span style="font-size: 18px"><strong> {</strong></span></p><p><span style="font-size: 18px"><strong> my_camp_time = 0;</strong></span></p><p><span style="font-size: 18px"><strong> have_i_been_warned = false;</strong></span></p><p><span style="font-size: 18px"><strong> }</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong> if( my_camp_time == camp_time && !have_i_been_warned )</strong></span></p><p><span style="font-size: 18px"><strong> {</strong></span></p><p><span style="font-size: 18px"><strong> self IprintLnBold( "^0Please ^1Stop ^0camping | ^110 ^0seconds ^0to ^1move" );</strong></span></p><p><span style="font-size: 18px"><strong> have_i_been_warned = true;</strong></span></p><p><span style="font-size: 18px"><strong> }</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong> if( my_camp_time == ( camp_time + 10 ) && have_i_been_warned )</strong></span></p><p><span style="font-size: 18px"><strong> {</strong></span></p><p><span style="font-size: 18px"><strong> self IprintLnBold( "^0You ^0will ^0be ^1killed ^0for ^1camping!");</strong></span></p><p><span style="font-size: 18px"><strong> wait 2;</strong></span></p><p><span style="font-size: 18px"><strong> self suicide();</strong></span></p><p><span style="font-size: 18px"><strong> </strong></span></p><p><span style="font-size: 18px"><strong> }</strong></span></p><p><span style="font-size: 18px"><strong> </strong></span></p><p><span style="font-size: 18px"><strong> }</strong></span></p><p><span style="font-size: 18px"><strong>}</strong></span></p><p><span style="font-size: 18px"><strong>[/CODE]</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><strong>Credits :</strong></span></p><p><span style="font-size: 18px"><strong></strong></span></p><p><span style="font-size: 18px"><img src="http://i.imgur.com/EGnuhZX.gif" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px"></span></p></blockquote><p></p>
[QUOTE="xBeaTzMoDz™, post: 23325, member: 1823"] [B][SIZE=4]Hello CabConModding Members[/SIZE][/B] [CENTER][B][SIZE=5]GSC Script Killed Camper 1 BUG; The camping player can be killed 1 time only (I dont know why i tried all to fix it but it wont work)[/SIZE][/B][/CENTER] [B][SIZE=5][/SIZE][/B] [LIST] [*][B][SIZE=5]Video : [/SIZE][/B] [/LIST] [SIZE=5][B][SPOILER] [B]Pc Version :[/B] [MEDIA=youtube]AmyhKlc5eAo[/MEDIA] [B]Ps3 Version :[/B] [MEDIA=youtube]786mJez5y-4[/MEDIA] [/SPOILER] Script - Killed Camper : [CODE] #include maps\mp\_utility; #include common_scripts\utility; #include maps\mp\gametypes\_hud_util; #include maps\mp\gametypes\_hud_message; init() { level thread onPlayerConnect(); } onPlayerConnect() { for(;;) { level waittill("connected", player); player thread onPlayerSpawned(); } } onPlayerSpawned() { self endon("disconnect"); level endon("game_ended"); for(;;) { self waittill("spawned_player"); self iprintln("Black Ops 2 - GSC Script | Project : ^5Killed Camper"); wait 0.5; self thread toggle_KilledCamper(); } } toggle_KilledCamper() { self thread KilledCamper(); self iprintln("Killed Camper ^2Enabled"); return thread KilledCamper(); } KilledCamper() { level waittill( "prematch_over" ); self endon("disconnect"); self endon( "death" ); my_camp_time = 0; have_i_been_warned = false; max_distance = 80; camp_time = 10; while( true ) { old_position = self.origin; wait 1; new_position = self.origin; distance = distance2d( old_position, new_position ); if( distance < max_distance ) my_camp_time++; else { my_camp_time = 0; have_i_been_warned = false; } if( my_camp_time == camp_time && !have_i_been_warned ) { self IprintLnBold( "^0Please ^1Stop ^0camping | ^110 ^0seconds ^0to ^1move" ); have_i_been_warned = true; } if( my_camp_time == ( camp_time + 10 ) && have_i_been_warned ) { self IprintLnBold( "^0You ^0will ^0be ^1killed ^0for ^1camping!"); wait 2; self suicide(); } } } [/CODE] Credits : [/B] [IMG]http://i.imgur.com/EGnuhZX.gif[/IMG] [SIZE=5][/SIZE] [/SIZE] [/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
SCRIPT - KILLED CAMPER
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