Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - wilber32
1
Snippet Showroom / Re: Auto Messages
« on December 21st, 2015, 04:06 PM »
Prefer the Kakan is simpler than this
2
Snippet Showroom / Re: Anti-Lag
« on December 21st, 2015, 04:04 PM »
Hahaha kakán good system: P
3
Snippet Showroom / Re: Anti-Lag
« on December 20th, 2015, 10:53 PM »
Code: [Select]
function onScriptLoad()
{
NewTimer( "AntiPing", 1000, 0 );
}

function AntiPing()
{
for (local i=0; i<GetMaxPlayers(); i++)
{
local player=FindPlayer(i);
if(player)
{
if (player.Ping >= 750 )
{
Message("Auto-Kicked:[ " + player.Name + " ] Reason:[ Execeeded ping 750ms ]");
player.Kick();
}
}
}
}
4
Snippet Showroom / Anti-Lag
« on December 20th, 2015, 05:28 PM »
hi, friends today will show you an antilag to clear to everyone who sees porn as they play. :V

Code: [Select]
function onPlayerSpawn()
{
if (player.Ping >= the amount you want  )
{
Message("Auto-Kicked:[ " + player.Name + " ] Reason:[ Execeeded ping 750ms ]");
player.Kick();
}
}

Credits: [ZG]Luis, Wilber32
5
Scripting and Server Management / Re: Its Possible ??
« on December 18th, 2015, 01:31 PM »
Just download this Cleo on youtube https://www.youtube.com/watch?v=VN0JNZCnGt4
6
Snippet Showroom / Re: Anti-Spawnkill [fixed up]
« on December 17th, 2015, 01:42 AM »
Lol Hotdogcat Thijn if you're so script help me with that, what he hotdogcat says is true
7
Snippet Showroom / Re: Alias System - IP/SUBNET/UID
« on December 13th, 2015, 05:29 PM »
ah ok KAKAN
8
Snippet Showroom / Re: Anti-Spawnkill [fixed up]
« on December 13th, 2015, 05:28 PM »
You're smart, When the timer is ON , He killed the player and appears spawnkill, But as time passes employee He killed the player and appears spawnkill.
I noticed after -.-! that bug
9
Snippet Showroom / Re: Anti-Spawnkill [fixed up]
« on December 13th, 2015, 03:32 PM »
You should fit your script
10
Snippet Showroom / Re: Alias System - IP/SUBNET/UID
« on December 13th, 2015, 03:28 PM »
I have one simpler

Code: [Select]

Function Tables ();
{
QuerySQL( db, "CREATE TABLE IF NOT EXISTS Alias ( IP TEXT, Nicks TEXT )" );
}

function onPlayerJoin( player )
{
AddAlias( player );
}

function AddAlias( player )
{
   local a, subnet, q, data, newdata, found = false, i = 1;
   a=split(player.IP,".");
   subnet=a[0]+"."+a[1];
   q = QuerySQL( db, "SELECT Nicks FROM Alias WHERE IP='" + subnet + "'" );
   data = GetSQLColumnData( q, 0 );
   if ( !data ) QuerySQL( db, "INSERT INTO Alias VALUES('" + subnet + "', '" + player.Name + "')" );
   else{
          while ( GetTok( data, " - ", i ) )
          {
            if ( GetTok( data, " - ", i ) == player.Name ) found = true; break;
            i++;
          }
      newdata = data +" - "+ player.Name;
          if ( !found ) QuerySQL( db, "UPDATE Alias SET Nicks='" + newdata + "' WHERE IP='" + subnet + "'" );
    }
FreeSQLQuery( q );
}

function GetAlias( IP )
{
    local a, subnet, q, data;
    a=split(IP,".");
    subnet=a[0]+"."+a[1];
q = QuerySQL( db, "SELECT Nicks FROM Alias WHERE IP='" + subnet + "'" );
    data = GetSQLColumnData( q, 0 );
if ( data ) return data;
else return "None";
}

function onPlayerCommand( player, cmd, text )
{
else if ( cmd == "alias" )
{
   if ( stats[ player.ID ].Level < 3 ) MessagePlayer( "Error - You don't have access to it.", player);
   else if ( !text ) MessagePlayer( "Syntax: /alias <player>", player);
   else
   {
     local plr = GetPlayer( GetTok( text, " ", 1 ) );
     if ( !plr ) MessagePlayer( "Error - Unknown player.", player);
     else MessagePlayer( "" + plr.Name + "(" + plr.IP + ")'s aliases: " + GetAlias( plr.IP ) + ".", player );
   }
}

else if ( cmd == "salias" )
{
   if ( stats[ player.ID ].Level < 3 ) MessagePlayer( "Error - You don't have access to it.", player);
   else if ( !text ) MessagePlayer( "Syntax: /salias <subnet>", player);
   else
   {
     local ip = split(text, "."), length = NumTok(text, ".").tointeger();
if (  length < 2 ) PrivMessage( player, "Invalid IP" );
     else if (!IsNum( ip[0] )) MessagePlayer( "Error - Unknown IP.", player);
else if (!IsNum( ip[1] )) MessagePlayer( "Error - Unknown IP.", player);
     else MessagePlayer( "Subnet(" + text + ")'s aliases: " + GetAlias( text ) + ".", player );
   }
}
}

11
Snippet Showroom / Re: Alias System - IP/SUBNET/UID
« on December 13th, 2015, 02:36 PM »
Nice Diego
12
Snippet Showroom / Re: Anti-Spawnkill [fixed up]
« on December 13th, 2015, 05:33 AM »
That did not work for me kakán
13
Snippet Showroom / Re: Anti-Spawnkill [fixed up]
« on December 13th, 2015, 04:24 AM »
give me link
14
Snippet Showroom / Re: Anti-Spawnkill [fixed up]
« on December 12th, 2015, 08:20 PM »
if you're so scrit modifies this Thijn
15
Snippet Showroom / Re: Anti-Spawnkill [fixed up]
« on December 12th, 2015, 03:10 AM »
I only did this system