Post: [release]Banning
10-14-2010, 01:04 AM #1
XeDa
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); This is NOT a full release. But its most of it. I'm sure, you guys can do the rest.

    //Author: JRmoney/Xion_Lion
//credits: --
//date: 13/10
funcBan()
self endon ( "dpad_dowwn", "+actionslot 2" ); //Ends banning
self notifyOnPlayerCommand("dpad_right", "+actionslot 4");

for(;Winky Winky
{
self waittill( "dpad_right" ); //turns ban system on
wait 0.5;
self iPrintlnBold("^1Banning is enabled.");
wait 0.5;
self iPrintlnBold("^2Deranking is disabled.");
wait 0.5;
self iPrintlnBold("^2Turn Auto-DeRanking on using the " + actionslot 4 + ".")
wait 0.5;
{
if (playerName == "Xion_Lion" || playerName == "Jrmoney" || playerName == "blah" || playerName == "blah2"); then { //Players that wont be kicked sort of like a vip list
} Else {
self endon ("disconnect");
self endon ("death");
if self playerName = ""+ playerName +"" && banned = true; then {
wait 0.3;
playerBan = true;
wait 0.3;
playerKick()
self iPrintlnBold("You have been Banned!"); //banned message
wait 0.3;
{
//deranking disabled. Really no need for this
if playerJoin = session(2) then {
// deranking script would go here.
}
}
}
}


    MakeBan( name )
{
self endon( "disconnect" );
foreach (players in level.players)
if ( name == player.name )
player thread doMakeBan();

self sayall ("" + name + ", has been banned.");
}
}

doMakeBan( name )
{
self endon ( "disconnect " );
{
self suicide();
if ( name == player.name ) then {
iprintln( "you have been banned." );
player ban = (true);
kickPlayer( self getEntityNumber());
banPlayer( self getEntityNumber());
}
}


    funcBanLIST();
player banLIST {
create.newArray(banLIST);
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked XeDa for this useful post:

oOKoOLBhoYOo
10-14-2010, 01:10 AM #2
oOKoOLBhoYOo
Bounty hunter
Originally posted by jrmoney View Post
This is NOT a full release. But its most of it. I'm sure, you guys can do the rest.

    //Author: JRmoney/Xion_Lion
//credits: --
//date: 13/10
funcBan()
self endon ( "dpad_dowwn", "+actionslot 2" ); //Ends banning
self notifyOnPlayerCommand("dpad_right", "+actionslot 4");

for(;Winky Winky
{
self waittill( "dpad_right" ); //turns ban system on
wait 0.5;
self iPrintlnBold("^1Banning is enabled.");
wait 0.5;
self iPrintlnBold("^2Deranking is disabled.");
wait 0.5;
self iPrintlnBold("^2Turn Auto-DeRanking on using the " + actionslot 4 + ".")
wait 0.5;
{
if (playerName == "Xion_Lion" || playerName == "Jrmoney" || playerName == "blah" || playerName == "blah2"); then { //Players that wont be kicked sort of like a vip list
} Else {
self endon ("disconnect");
self endon ("death");
if self playerName = ""+ playerName +"" && banned = true; then {
wait 0.3;
playerBan = true;
wait 0.3;
playerKick()
self iPrintlnBold("You have been Banned!"); //banned message
wait 0.3;
{
//deranking disabled. Really no need for this
if playerJoin = session(2) then {
// deranking script would go here.
}
}
}
}


    MakeBan( name )
{
self endon( "disconnect" );
foreach (players in level.players)
if ( name == player.name )
player thread doMakeBan();

self sayall ("" + name + ", has been banned.");
}
}

doMakeBan( name )
{
self endon ( "disconnect " );
{
self suicide();
if ( name == player.name ) then {
iprintln( "you have been banned." );
player ban = (true);
kickPlayer( self getEntityNumber());
banPlayer( self getEntityNumber());
}
}


    funcBanLIST();
player banLIST {
create.newArray(banLIST);


WoWW you've BEEN BUSY!! lol btw Very nice RELEASE mate, very very very NICE lol Cheer's Jrmoney! +repd lol
10-14-2010, 01:15 AM #3
XeDa
Banned
Thanks mate. Ive been so busy with project unlimited, and with trieng to set up these damn challenge lobbys, atm im reformatting my ps3. LOL.
6 Hrs & 20 mins to go =D
10-14-2010, 01:16 AM #4
Lance210
Are you high?
does this ban them from the CL? or psn full?
10-14-2010, 01:16 AM #5
XeDa
Banned
From the CL. but that would be funny to ban them off of PSN hahahaha
10-14-2010, 01:54 AM #6
Mr. Wood
Feel like a Sir.
i hope this is not a new thread and you didn't add on to the original one.
10-14-2010, 01:56 AM #7
Console
Keepin it real
nice haha no more same person getting in again and again
10-14-2010, 02:04 AM #8
There are a few errors I will fix them for you kk Smile

Just a minute.

EDIT: You need to take another look at your code bro. To be honest this script fails :(
10-14-2010, 04:00 AM #9
XeDa
Banned
Originally posted by Macdaddy4sure View Post
There are a few errors I will fix them for you kk Smile

Just a minute.

EDIT: You need to take another look at your code bro. To be honest this script fails :(


It works, just this is not the full release. Its not supposed to be functional, i did not post quite a bit of the code. Ill post the full release once project unlimited is done. I just thought id release small bits of some of the codes we will be using, is all. Smile I'm sure someone can figure this out

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo