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  Scripting / Script Help / Help on: November 07, 2013, 03:52:21 pm
What is The Error ?
Or How To Get The Highest Score ?
Code: [Select]
g_pPlayer <- FindLocalPlayer();

function onScriptLoad()
{         
// Start
local Pos = VectorScreen( ScreenWidth - 148, ScreenHeight - 348 );
  local Size = ScreenSize( 130, 208 );

local Text0Pos = VectorScreen( 5, 5 );

local TextSize = ScreenSize( 100, 10 );

Window <- GUIWindow( Pos, Size, "Kings Of The Server" );
Text0 <- GUILabel( Text0Pos, TextSize, "" );

Text0.FontName = "Verdana";

Text0.FontSize = 10;

Window.Colour = Colour(10, 10, 10);

Window.Alpha = 150;

Text0.TextColour = Colour( 255, 255, 255 );

AddGUILayer( Window );
Window.AddChild( Text0 );
// End
}

function onClientRender()
{
local players = GetPlayers();
if (players == 0){ return false; }

players += 10;

local pPlayer = null, id = 0;
while ( id < players )
        {
pPlayer = FindPlayer( id );
if ( pPlayer)
          {
    if(pPlayer.Score >= 500)
             { 
               Text0.Text = "*System* "+pPlayer.Name+" >> [ King ].";
     }
          }
id += 1;
}
}
2  Scripting / Script Help / Help on: August 07, 2013, 02:47:11 pm
I'm Tried To Make The The Object Appear To The Player When The Player Type /reconnect.
But I Failed To Make It Appear.
If Any One Have An Idea Please Tell me .
Sorry For Bad English  ;D
Thanks
3  Scripting / Script Releases / Example Of Gui on: July 28, 2013, 12:42:42 am
Hey, This Script For Noobs Players Only  ;D.
This Is An Example Of Gui Info By Timers >>
Code: [Select]
function onScriptLoad()
{
   local nPos = VectorScreen( 11, ScreenHeight - 25 );
   
   local nSize = ScreenSize( 100,3 );
   
   nText <- GUILabel( nPos, nSize, "" );
   
   nText.FontName = "Cambria";
   
   nText.FontSize = 12;
   
   AddGUILayer( nText );

   nText.Text = "Example1";
   nText.TextColour = Colour( 255, 255, 255 );
   NewTimer( "Example2", 10000, 1 );
}

function Example2()
{
   nText.Text = "Example2";
   nText.TextColour = Colour( 255, 255, 255 );
   NewTimer( "Example3", 10000, 1 );
}

function Example3()
{
   nText.Text = "Example3";
   nText.TextColour = Colour( 255, 255, 255 );
   NewTimer( "Example4", 10000, 1 );
}

function Example4()
{
   nText.Text = "Example4";
   nText.TextColour = Colour( 255, 255, 255 );
   NewTimer( "Example5", 10000, 1 );
}

function Example5()
{
   nText.Text = "Example5";
   nText.TextColour = Colour( 255, 255, 255 );
   NewTimer( "Example1", 10000, 1 );
}

Change The ( Example ) To Any Text Do You Need, Like This >
Code: [Select]
   nText.Text = "Kill Any One xD";
4  Scripting / Script Help / < Help In Gui > on: July 07, 2013, 10:44:59 am
I'm Trying To make A Gui For The Score Of All Red Team And Blue Team By Hash >
> But The Hash Saves The Player Name Like This >>
Code: [Select]
Red.Inc( player.Name, 1 );
Red.Save( "Hashes/Red.hsh" );

What Should I Do To Make The Gui ?
i Tried To Make This But The Server Said Error
>>
Code: [Select]
Red.Inc( 1 );
Red.Save( "Hashes/Red.hsh" );
5  Scripting / Script Help / Some Help on: June 24, 2013, 09:08:37 am
How To Get The Highest Score In A Massage ?
I Mean I Need To Write The Highest Score Player Name In A Massage . :P
6  Scripting / Script Releases / Auto Fix Script >> Mido_Pop. on: May 11, 2013, 01:08:28 pm
Info:
This Script To Auto Fix The Car.

How To Use It:
Type /autofix on To Play it.
Type /autofix off To Stop it.

By:
This Script Made By Mido_Pop.

Download:
http://www.mediafire.com/?y1vooo464jty2vn
7  Scripting / Script Help / Gui . on: March 28, 2013, 09:52:06 pm
Hi All I'm Trying To Make The Words On The Gui Moving But It's Make An Error,
Can Any One Help Me ? :D
8  Scripting / Script Help / VBS Error . on: March 06, 2013, 05:57:36 pm
If Player Joined The Server With out Type /Login < pass > The player Kicked And The Server Crash .
Why The Server Crash ? ?? Sorry For Bad English .
9  Scripting / Script Help / help on: January 27, 2013, 08:10:19 pm
i need help in hashes saves money

i made one it saves the money but when player connect or join the player can't get his Money.
10  Scripting / Script Help / Help :'( on: January 08, 2013, 03:15:25 pm
how to make function like this ?

function onPlayerExitServer( player )
{
     
     return 1;
}

or

function onPlayerDisconnect( player )
{
     
     return 1;
}
11  Scripting / Script Releases / info player Script ( new ) on: December 14, 2012, 09:53:01 pm
New Script

Download From >> ( http://www.mediafire.com/?s4n082764j920t8 )




By >> Mido_Pop

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
New Script

Download It From >> [ http://www.mediafire.com/?s5adhhi95151ro0 ]



By >> Mido_Pop

12  Scripting / Script Help / Score Help on: November 19, 2012, 06:40:47 pm
how can i script score For players ???

Like This >>>>
13  Scripting / Script Help / timer error :-\ on: November 05, 2012, 01:57:09 pm
i need it with timer .

what is the error ?

function onPlayerCommand( plr, cmd, text )
{
   if ( cmd == "fixit" )
   {
             NewTimer( "fix", 1, 1);
   }
      
   return 1;
}

function fix()
{
        plr.Vehicle.Fix();
}
14  Off Topic / General Chat / xaker's mod new on: October 31, 2012, 10:13:08 pm
download from this
     
                      http://fileshare.in.ua/6858149

[ more info ]

It is a full game with modification ( new
textures,vehicles,weapons,handling.cfg,particle.cfg )
it is not a module




15  Liberty Unleashed / Liberty Unleashed Chat / NPCs on: October 29, 2012, 02:54:53 pm
when will VRocker finish the update ? 
 
                        i need NPCS in my server :P
Pages: [1] 2
© Liberty Unleashed Team.