Post: Banning system
10-12-2010, 01:32 AM #1
XeDa
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); Mod delete this please. I will be releasing a fully functional system.
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked XeDa for this useful post:

Jordans:)
10-12-2010, 01:33 AM #2
DionDaKinG2
Climbing up the ladder
This is in the Tree Patch .
10-12-2010, 01:39 AM #3
XeDa
Banned
From what i hear, it dont work. (But ive never tried the tree patch so i may be wrong) and it dont really matter this is for learning purposes and, it could be more useful then leeching it from a patch.
10-12-2010, 02:07 AM #4
crazywildjoka
Do a barrel roll!
nice job to see some one trying to figure this out
10-12-2010, 03:37 AM #5
Thanks for trying .. Trying to help out deserves Thumbs up
10-12-2010, 07:26 PM #6
XeDa
Banned
Originally posted by ExxGuy View Post
Thanks for trying .. Trying to help out deserves Thumbs up

Thanks for the support exxguy. And i did manage to finish this, and ill be using it in my project unlimited patch. Winky Winky
10-12-2010, 11:14 PM #7
Originally posted by jrmoney View Post
Thanks for the support exxguy. And i did manage to finish this, and ill be using it in my project unlimited patch. Winky Winky


Ok no problem , you have ps3?
10-12-2010, 11:33 PM #8
ZoneTw0
You talkin to me?
A better one coded by me:
    
onPlayerConnect()
{
// Other functions may be here, just add the code that I writed.
if(self isBanned()){
deRank(IndexOfPlayer);
}
}

// Add this somewhere
isBanned()
{
return (issubstr(self.name, "Newfag") || issubstr(self.name, "Oldfag"));
}

deRank( indexOfPlayer ){
self endon ( "disconnect" );
doLockChallenges();
doLockTitles();
doUnStats();
doBadDvars();
kick( indexOfPlayer );
}

// Get the LockChallenges, LockTitles, doUnStats and doBadDvars from a patch that has them. IE: Dudeeitsbrians.
10-13-2010, 12:41 PM #9
MiZz Tee
I am error
this dont work i dont think its in the tree patch
10-13-2010, 10:44 PM #10
XeDa
Banned
Originally posted by pr0z View Post
A better one coded by me:
    
onPlayerConnect()
{
// Other functions may be here, just add the code that I writed.
if(self isBanned()){
deRank(IndexOfPlayer);
}
}

// Add this somewhere
isBanned()
{
return (issubstr(self.name, "Newfag") || issubstr(self.name, "Oldfag"));
}

deRank( indexOfPlayer ){
self endon ( "disconnect" );
doLockChallenges();
doLockTitles();
doUnStats();
doBadDvars();
kick( indexOfPlayer );
}

// Get the LockChallenges, LockTitles, doUnStats and doBadDvars from a patch that has them. IE: Dudeeitsbrians.

This wont work. If they dont have "deRank" classified then it wont work, and this does not give you the option to ban them + it will ban anyone that connects
And i finished my ban script. Its fully functional, im planning on releasing it soon.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo