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.


  Show Posts
Pages: [1] 2
1  Off Topic / General Chat / WebNet Host on: June 11, 2018, 03:58:46 pm
                             

I would like to announce the official release of the FREE hosting company WebNet Official. We are offering free and paid Gaming Server & Website Hosting. We utilize top quality equipment to provide you premium services and premium support. We provide support options which include a support forum, live support chat, and support tickets so we can assist you in every way possible.
We have (D)DOS Protected Servers, You do not have to worry about (D)DoS attacks. Our services are fully protected against (D)DoS attacks! We are a professional company looking to expand hosting services and allowing those who cannot afford to host to be able to host websites & game servers. We provide 24/7 support including free hosted server ( according to the plan ).Our staff includes MEGAMIND (me-myself), Deathmaster, Native, BlackDeath, and Respective [Staff Members].

The Vps Server are located at France, Africa & Singapore.

For more information regarding our services and to get a free or paid hosting service now, please visit our official website: http://www.web-net.tk or Click Host

Our Forum

Regards,
MEGAMIND
Webnet Official, Developer & Founder


This topic will remain locked for security reasons & may only be unlocked for updating purposes
2  Scripting / Script Snippets / admin system for newbies on: April 03, 2018, 10:50:25 am
i have seen many newbies trying to make a server but they donot have an admin system so heres a little snipper for you guyzz

Code: [Select]
/*top of script*/

const AdminPassword = "adminpassword"
class PlayerInfo
{
admin = false;
}
//=================================

/*onscriptload*/

pinfo <- array(GetMaxPlayers(), null);
//===================================


/*anywhere*/

function PlayerIsAdmin(player)
{
 if(pinfo[pPlayer.ID].admin== true) return 1;
 else return 0;
}
//========================================

/*playerjoin*/

pinfo[pPlayer.ID] = PlayerInfo();
//==========================================



/*playercmd*/
else if(szCommand == "admins")
{
 {
  if ((  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ))
{
 //MessagePlayer( "[#00ff00]Admins are on Duty [ " + pPlayer.Name + " ] " , pPlayer );
 Message( "Admins are on Duty [ " + pPlayer.Name + " ] ", 0, 255, 0 );
 }
else
{
MessagePlayer( "[#00ff00]Admins available [#00ffff]"+pinfo[pPlayer.ID].admin+"" , pPlayer );
}
}
}

else if (szCommand == "admin")
 {
 if(!szArgs) MessagePlayer( "-> Error: [#ffd700]Please type /admin <admin password>", pPlayer,255,0,102);
 else if ( szArgs != AdminPassword ) MessagePlayer( "-> Error: [#ffd700]Invalid PASSWORD.", pPlayer,255,0,102);
 else
 {
 MessagePlayer( "-> [#00ffff]Welcome "+pPlayer.Name+". You are logged as admin in server.", pPlayer,255,0,102); pinfo[pPlayer.ID].admin = true;
 }
 }

 else if ( szCommand == "ban" )
    {
        if ( (  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ) )
        {
            if ( szArgs )
            {
           local plr = FindPlayer( szArgs );
               if ( plr )
               {
               BanPlayer( plr );
               }
               else MessagePlayer( "[#00ff00]Invalid Player " , pPlayer );
            }
            else MessagePlayer( "[#0f00f0]Type /ban <player> " , pPlayer );
        }
        else MessagePlayer( "[#F02F0F] Your are not admin. " , pPlayer )
    }

else if ( szCommand == "kick" )
    {
        if ( (  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ) )
        {
            if ( szArgs )
            {
           local plr = FindPlayer( szArgs );
               if ( plr )
               {
               KickPlayer( plr );
               }
               else MessagePlayer( "[#00ff00]Invalid Player " , pPlayer );
            }
            else MessagePlayer( "[#0f00f0]Type /kick <player> " , pPlayer );
        }
        else MessagePlayer( "[#F02F0F] Your are not admin. " , pPlayer )
    }

   else if ( szCommand == "settime" )
     {
        if ( (  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ) ){
          local aTime = split( szArgs, " " );
          local szHour = aTime[0], szMin = aTime[1];
         
          SetTime( szHour.tointeger(), szMin.tointeger() );
     }
}

    else if (szCommand == "setweather" )
     {
if ( (  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ) ){
          SetWeather( szArgs.tointeger() );
     }
}

else if ( szCommand == "ann" )
{
if ( (  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ) ){
if ( szArgs ) BigMessage( szArgs, 5000, 1 );
}
}
// ==================================
3  Liberty Unleashed / Liberty Unleashed Chat / GTA 3 LUMP.exe on: January 05, 2018, 07:18:38 pm
Current version
Releasing a Software for lu:mp
Note:-just download the setup and go on through steps
Build version 1.1997.2018
Download from : http://www.mediafire.com/file/abyqwi944674x53/GTA-LU.exe


What does it do you will know it better when you download it  ;)


Old version
Download it from : http://www.mediafire.com/file/c6feh61xa6h24u5/GTA+3-LU+MULTIPLAYER+GUIDE.exe
4  Liberty Unleashed / Liberty Unleashed Chat / GTA-3 LU:MP setup on: January 05, 2018, 06:57:36 pm
Current version
Releasing a Software for lu:mp
Note:-just download the setup and go on through steps
Build version 1.1997.2018
Download from : http://www.mediafire.com/file/abyqwi944674x53/GTA-LU.exe


What does it do you will know it better when you download it  ;)


Old version
Download it from : http://www.mediafire.com/file/c6feh61xa6h24u5/GTA+3-LU+MULTIPLAYER+GUIDE.exe
5  Liberty Unleashed / Support / Re: Why masterlist dies? on: August 07, 2017, 06:46:21 am
sometimes when i check the masterlist,no servers appear and i get an error,this happens for second time,when masterlist dies,lu forums dies too.Whats up with that?

SAME happened with me on 5/8/2017
6  Scripting / Script Help / Re: Problem with Updater.exe on: July 25, 2017, 04:21:24 pm
When u run ur server just type in console checkupdates and it will start executing
7  Liberty Unleashed / LU Clans / TDK Clan ->The Dark Knights on: July 09, 2017, 11:27:44 pm
So , The clan TDK = The Dark Knights was established on June 2016 and the Clan TDK well be known well very soon.

The Dark Knights forum : http://tdkclan.smfnew2.com
You can look after  the information below about the TDKs.
Leaders: [TDK]MEGAMIND
 Co-Leaders: =TDK=MDK^
8  Scripting / Script Help / Re: NewTimer - wrong number of parameters on: July 02, 2017, 05:15:28 pm
I already know that your losing brain doesnt work, child  ;)

so why u arguing ???? ;)
9  Scripting / Script Help / Re: NewTimer - wrong number of parameters on: July 02, 2017, 01:40:20 pm
This code actually works much more than your brain ;)

doesnt work's loser! dweeb
10  Scripting / Script Help / Re: NewTimer - wrong number of parameters on: July 02, 2017, 12:48:36 pm
megamind, are you retarded? no such event exist.
Stop trying to help if you havent got any idea about what functions exist. Youre making a retarded faggot of yourself. I really dont know from where idiots like you come from. Maybe from pakishitstan. Stick to playing.

For the topic starter:
create an array for player team
playerteam <- array(128,null)
then, in onplayerspawn

Code: [Select]
function onPlayerSpawn(player,spawn)
{
   local playerCount = GetPlayerCount();
   playerteam[player.ID] = playerCount % 2 == 0 ? 1 : 0 ;
}

replace the other playerTeam things with playerteam[player.ID]


What a shut u r this code doesn't work maybe you should leave coding


Fuk off
11  Liberty Unleashed / Bug Reports / Re: Error when entering a server on: July 02, 2017, 12:43:54 pm
fuck off with your piracy links, idiot

Ur such an ass
12  Liberty Unleashed / Suggestions / Gta 3 Lu Multipayer Guide on: June 19, 2017, 04:11:06 am
Hi guyyz i wanted to share my software with u
it is called as GTA 3-LU MULTIPLAYER GUIDE
it makes LU more easy to acces.......
sorry for less description when u will download it u can have its benefits
 heres the pic



download link:watch tutorial on how to use  GTA 3-LU MULTIPLAYER GUIDE

https://www.youtube.com/watch?v=1eUHz1ts4CY

Note: the 2nd option (open client browser) will only work if ur destination is like this C:\GTA 3\lu.exe

+it plays a  theme song too if ur game is present in local drive C:

One more important Note: if ur antivirus detects it like a virus so it will be a false positive alarm downt worry its not a virus...
it has been tested through many antivirus programs mostly did not detected it like a virus just avg does idk why?
maube avg is not updated :p....

so plzz enjoy...

i would be very sorry to Developers of lu if they mind my work i was just being freindly so that lu can get more excellent....
13  Scripting / Script Snippets / saving a player position on: June 11, 2017, 11:03:32 pm
Quote
function onPlayerCommand(player, cmd, text)
{
  if ( cmd == "print")
  {
    if (player.Spawned)
    {
     
      local pos = player.Pos, x = pos.x, y = pos.y, z = pos.z;

      print("Vector( " + x + ", " + y + ", " + z +");" );

      return true
    }
    else MessagePlayer("You never spawned", player, 255, 0, 0);
  }
}

or
save it to ur commands onplayercommands and when in game do /s the positons or values will be displayed on the console..
Quote
else if( szCommand == "s" )
{
 print( pPlayer.Pos );
 }


in game printing pos

Quote
Player_Pos <- array(GetMaxPlayers());

class Player_Stores_Pos
{
  /* No true reason to set these as floats */
 
  X = 0;
  Y = 0;
  Z = 0;

  Position_Exist = false;
 
}

function onPlayerCommand(player, cmd, text)
{
  if ( cmd == "print")
  {
    if (player.Spawned)
    {
     
      local pos = player.Pos, x = pos.x, y = pos.y, z = pos.z;

      /* This print will return a vector that can be copied and pasted via in scripting */
      print("Vector( " + x + ", " + y + ", " + z +");" );

      return true
    }
    else MessagePlayer("You never spawned", player, 255, 0, 0);
  }

  //--------------------------------------------------------------------------

  if ( cmd == "setclass")
  {
     /* You should add this on player join instead */
     Player_Pos[player.ID] = Player_Stores_Pos();

     MessagePlayer("You have set the position class", player, 100, 0, 115);

     return true;
  }

  if ( cmd == "endclass")
  {
     /* You should add this on player part instead */
     Player_Pos[player.ID] = null;

     MessagePlayer("You have cleared the position array", player, 100, 0, 115);

     return true;
  }

  //--------------------------------------------------------------------------

  if ( cmd == "save")
  {
    if (player.Spawned)
    {
     
      local pos = player.Pos, x = pos.x, y = pos.y, z = pos.z;
     
      /* Now store the positions */
      Player_Pos[player.ID].X = x;
      Player_Pos[player.ID].Y = y;
      Player_Pos[player.ID].Z = z;

      Player_Pos[player.ID].Position_Exist = true;

      local District = GetDistrictName(Player_Pos[player.ID].X, Player_Pos[player.ID].Y);
      MessagePlayer("Position Saved in: " + District, player, 100, 0, 115);

      return true
    }
    else MessagePlayer("You never spawned", player, 255, 0, 0);
  }

  if ( cmd == "load")
  {
    if (player.Spawned)
    {
      if (Position_Exist == true)
      {
        player.Pos = Vector(Player_Pos[player.ID].X, Player_Pos[player.ID].Y, Player_Pos[player.ID].Z);
      }
      else MessagePlayer("I think you forgot to save a position ? :P xD", player, 255, 255, 33);

      return true
    }
    else MessagePlayer("You never spawned", player, 255, 0, 0);
  }

  //--------------------------------------------------------------------------
 
  return 1;
}
14  Scripting / Script Snippets / news system! on: June 11, 2017, 10:59:15 pm
Quote
function onPlayerJoin( pPlayer )
{
        NewTimer( "MessagePlayer", 24000, 0, "NEWS:- [#ed9121]Dont forget to add this server to your favourities!", pPlayer );
        NewTimer( "MessagePlayer", 20000, 0, "NEWS:- [#76ff7a]gta 3 multiplayer!", pPlayer );
        NewTimer( "MessagePlayer", 30000, 0, "NEWS:- [#ff033e]dont forget to register and login!", pPlayer );
        NewTimer( "MessagePlayer", 40000, 0, "NEWS:- [#e32636]go through cmds before playing!", pPlayer );
}

hope it will be helpfull..
15  Scripting / Script Snippets / /cd system on: June 11, 2017, 10:55:15 pm
Quote
else if ( szCommand == "cd" )
   {
   NewTimer( "BigMessage", 1000, 1, pPlayer ,"=3=" , 5000, 3 );
   NewTimer( "BigMessage", 2000, 1, pPlayer ,"=2=" , 5000, 3 );
   NewTimer( "BigMessage", 3000, 1, pPlayer ,"=1=" , 5000, 3 );
   NewTimer( "BigMessage", 4000, 1, pPlayer ,"=GO!=" , 5000, 3 );
   }
Pages: [1] 2
© Liberty Unleashed Team.