Post: [GSC][RELEASE] Script - Killed Camper Player
10-15-2014, 10:33 AM #1
xBeaTzMoDz
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({});
Hello NextGenUpdate Members

Today I Release 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)


Video:

Pc Version :

Ps3 Version :



Tutorial :

Step 1 : Open GSC Studio and Make a New Project
Step 2 : Copy The Script and Paste The Code
Step 3 : Connect to Ps3/Pc/Xbox and Press Inject
Step 4 : Start a Game and Go !



Script - Killed Camper :
    
#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(;Winky Winky
{
level waittill("connected", player);
player thread onPlayerSpawned();
}
}

onPlayerSpawned()
{
self endon("disconnect");
level endon("game_ended");
for(;Winky Winky
{
self waittill("spawned_player");
self iprintln("Black Ops 2 - GSC Script | Project : ^5Killed Camper");
wait 0.5;
self iprintln("GSC Script | Made By xBeaTzMoDz");
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();

}

}
}


Credits :
Originally posted by another user

IMCSx - GSC Studio
xBeaTzMoDz - Making Convert Script
proper - Making Mw2 Script
Last edited by xBeaTzMoDz ; 10-15-2014 at 10:27 PM.

The following 2 users say thank you to xBeaTzMoDz for this useful post:

canadiancaper, Fatality

The following 2 users groaned at xBeaTzMoDz for this awful post:

MrToxlcBooty, John
10-15-2014, 12:10 PM #2
TheFallen
Former Dark Night
Originally posted by xBeaTzMoDz View Post
Hello NextGenUpdate Members

Today I Release my 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)


Video:




Tutorial :

Step 1 : Open GSC Studio and Make a New Project
Step 2 : Copy The Script and Paste The Code
Step 3 : Connect to Ps3/Pc/Xbox and Press Inject
Step 4 : Start a Game and Go !



Script - Killed Camper :
    
#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(;Winky Winky
{
level waittill("connected", player);
player thread onPlayerSpawned();
}
}

onPlayerSpawned()
{
self endon("disconnect");
level endon("game_ended");
for(;Winky Winky
{
self waittill("spawned_player");
self iprintln("Black Ops 2 - GSC Script | Project : ^5Killed Camper");
wait 0.5;
self iprintln("GSC Script | Made By xBeaTzMoDz");
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();

}

}
}


Credits :


Nevermind
Last edited by TheFallen ; 10-15-2014 at 01:40 PM.

The following user thanked TheFallen for this useful post:

SyGnUs
10-15-2014, 12:18 PM #3
xBeaTzMoDz
Do a barrel roll!
Originally posted by TheFallen View Post
Lmao you didn't make this. This has been around for awhile.
You must login or register to view this content.


no it is a false code and old this handbook thread
You Can Close The Old Hand Book Thread ? Fallen Winky Winky
10-15-2014, 12:19 PM #4
SyGnUs
Give a F*** About Your Lifestyle
Originally posted by TheFallen View Post
Lmao you didn't make this. This has been around for awhile.
You must login or register to view this content.


What kind of script hand book is that? lol, it has one script.
10-15-2014, 12:23 PM #5
xBeaTzMoDz
Do a barrel roll!
Originally posted by SyGnUs View Post
What kind of script hand book is that? lol, it has one script.


This not A HandBook Script is a Camping Player Script the camping player script is in the old thread i have this delete and now in this theread the orginal script Smile
10-15-2014, 01:41 PM #6
TheFallen
Former Dark Night
Originally posted by xBeaTzMoDz View Post
no it is a false code and old this handbook thread
You Can Close The Old Hand Book Thread ? Fallen Winky Winky


Didn't realize you posted that thread too haha. Sorry, and no I can't I retired :p just report it

The following 2 users say thank you to TheFallen for this useful post:

ItsLollo1000, xBeaTzMoDz
10-15-2014, 02:32 PM #7
Chris
Former Staff
Good work man, would be nice if you could fix the one bug though. But still; great share to the community. Smile

The following user thanked Chris for this useful post:

xBeaTzMoDz
10-15-2014, 07:10 PM #8
xBeaTzMoDz
Do a barrel roll!
Originally posted by TheFallen View Post
Didn't realize you posted that thread too haha. Sorry, and no I can't I retired :p just report it


Hhaha Okay Winky Winky :P
10-15-2014, 07:12 PM #9
xBeaTzMoDz
Do a barrel roll!
Originally posted by Natissue View Post
Good work man, would be nice if you could fix the one bug though. But still; great share to the community. Smile


Thanks Winky Winky Ohh Yes Fixed comming Winky Winky
10-15-2014, 07:14 PM #10
MrToxlcBooty
I defeated!
Originally posted by xBeaTzMoDz View Post
Hello NextGenUpdate Members

Today I Release my 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)


Video:




Tutorial :

Step 1 : Open GSC Studio and Make a New Project
Step 2 : Copy The Script and Paste The Code
Step 3 : Connect to Ps3/Pc/Xbox and Press Inject
Step 4 : Start a Game and Go !



Script - Killed Camper :
    
#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(;Winky Winky
{
level waittill("connected", player);
player thread onPlayerSpawned();
}
}

onPlayerSpawned()
{
self endon("disconnect");
level endon("game_ended");
for(;Winky Winky
{
self waittill("spawned_player");
self iprintln("Black Ops 2 - GSC Script | Project : ^5Killed Camper");
wait 0.5;
self iprintln("GSC Script | Made By xBeaTzMoDz");
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();

}

}
}


Credits :

You didn't "Make" this it in 100000's of mw2 menus give proper credit not cool bro

The following user thanked MrToxlcBooty for this useful post:

Claww1337_

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo