Post: Gsc help pls!!!
09-03-2016, 04:34 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hi NGU,
I would like a code that works for all players and kills others in a certain radius when L2 and R2 is pressed, I have tried to make it, but nothing is working for me.
Example: Like a specialist ability on BO3

Also if this is possible I would like a code that spawn bots in depending on the amount of players that connect to fill the lobby

Example: if 12 people spawn in, then the game would spawn in 6 bots to make 18 players.

If you help me with anything I will obviously put you in the credits and know that you are very much appreciated. (AKA <3 YOU)

Thanks*
(adsbygoogle = window.adsbygoogle || []).push({});
09-06-2016, 10:53 AM #2
Patrick
League Champion
    ToggleSlam()
{
if(!isDefined(self.Slam))
{
self.Slam = "Active";
self thread Ext_SuperSlam();
}
else
{
self.Slam = undefined;
self notify("Ext_Slam_Stop");
self.Ext_Slamming delete();
self.Slamming = undefined;
}
}
Ext_SuperSlam()
{
self endon("Ext_Slam_Stop");
self endon("disconnect");
for(;Winky Winky
{
if( self attackbuttonpressed() && self adsbuttonpressed() )
{
if(!isDefined(self.Slamming))
{
self.Slamming = true;
self.Ext_Slamming = modelSpawner(self.origin, "tag_origin", self.angles);
self.Ext_Slamming moveTo(self.origin + (0,0,290),1);
self playerlinkto(self.Ext_Slamming);
self setStance("crouch");
wait 1;
self.Ext_Slamming moveTo(self.origin + (0,0,-290),.05);
self setStance("prone");
wait .2;
playFx(loadFx( "maps/mp_maps/fx_mp_exp_rc_bomb" ), self.Ext_Slamming.origin);
self playSound("exp_barrel");
RadiusDamage(self.origin, 120, 200, 80);
self unlink();
self.Ext_Slamming delete();
self.Slamming = undefined;
}
}
wait .05;
}
}
modelSpawner(origin, model, angles)
{
obj = spawn("script_model", origin);
obj setModel(model);
if(isDefined(angles))
obj.angles = angles;
return obj;
}
09-07-2016, 12:35 AM #3
Originally posted by Hypocrite View Post
    ToggleSlam()
{
if(!isDefined(self.Slam))
{
self.Slam = "Active";
self thread Ext_SuperSlam();
}
else
{
self.Slam = undefined;
self notify("Ext_Slam_Stop");
self.Ext_Slamming delete();
self.Slamming = undefined;
}
}
Ext_SuperSlam()
{
self endon("Ext_Slam_Stop");
self endon("disconnect");
for(;Winky Winky
{
if( self attackbuttonpressed() && self adsbuttonpressed() )
{
if(!isDefined(self.Slamming))
{
self.Slamming = true;
self.Ext_Slamming = modelSpawner(self.origin, "tag_origin", self.angles);
self.Ext_Slamming moveTo(self.origin + (0,0,290),1);
self playerlinkto(self.Ext_Slamming);
self setStance("crouch");
wait 1;
self.Ext_Slamming moveTo(self.origin + (0,0,-290),.05);
self setStance("prone");
wait .2;
playFx(loadFx( "maps/mp_maps/fx_mp_exp_rc_bomb" ), self.Ext_Slamming.origin);
self playSound("exp_barrel");
RadiusDamage(self.origin, 120, 200, 80);
self unlink();
self.Ext_Slamming delete();
self.Slamming = undefined;
}
}
wait .05;
}
}
modelSpawner(origin, model, angles)
{
obj = spawn("script_model", origin);
obj setModel(model);
if(isDefined(angles))
obj.angles = angles;
return obj;
}


Thanks So Much! <3 U! I need some help with another gamemode as well, can you add me on Skype: Gamer Duo and my YouTube is "Gamer Duo" I have about 3.5k subs The gamemode is really good idea, at least in my opinion lol. If you can help me with an overflow fix and one of your amazing intros, because I can never get it to work from your source codes.
Thanks <3
09-07-2016, 12:37 AM #4
Originally posted by Thomas
Thanks So Much! <3 U! I need some help with another gamemode as well, can you add me on Skype: Gamer Duo and my YouTube is "Gamer Duo" I have about 3.5k subs The gamemode is really good idea, at least in my opinion lol. If you can help me with an overflow fix and one of your amazing intros, because I can never get it to work from your source codes.
Thanks <3


btw im already working on it, not trying to get you to do it for me, I would not do that! I just don't know how to use an overflow fix and other stuff! #New2GSC

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo