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 / Script needs help on: July 23, 2015, 06:05:52 am
function onPlayerChat( player, text )
{
if (player.Colour = 1 )
{
   Message("[#00ffff][FBI] "+ "[#ff8000]- " + player.ColouredName + " [#ffffff]: " + text );
}
if (player.Colour = 2 )
{
   Message("[#00ffff][LCPD] "+ "[#ff8000]- " + player.ColouredName + " [#ffffff]: " + text );
}
   return 0;
}

This is my source has two roles, colors are 1 and 2, although you can use, but when the FBI sent are displayed?

How can I make?
2  Scripting / Script Help / Need some help on: July 22, 2015, 12:03:35 pm
Hello everyone, I also encountered some problems in making my server.

I would like to know how to make Sound for all playing together?

There are some servers have the same ring into the mission, how does this make? For example a player enters the circle to send a message

I am very anxious hope you can help me!
3  Liberty Unleashed / Liberty Unleashed Chat / Consult on: July 11, 2015, 06:43:27 am
I am a Chinese player, because the LU is in English, so I Xiangnong something, so that more people easy to understand, I want to know LU configuration stored? Such as name, IP settings like, please tell me!
4  Liberty Unleashed / Support / On the LU installation problems on: March 24, 2015, 11:32:30 pm
Everybody is good. I have a question about the LU game.

I installed LU on a Win7 system for my friend, plug-ins are installed, the LU and the game is complete, but he can't from LU into the online game, but into stand-alone, may I ask how to solve?
5  Liberty Unleashed / Liberty Unleashed Chat / When to change 75% on: March 01, 2015, 02:33:46 am
The temptation to see the next version of the function, really want to hurry to try it.
But I see the progress of the site is still 75%, when you can change?
6  Liberty Unleashed / Liberty Unleashed Chat / Please help me on: February 19, 2015, 01:25:04 pm
Happy new year, I use the room service, but I will not show to the Internet server, our protocol is UDP, is IP, please help me!
7  Liberty Unleashed / Liberty Unleashed Chat / A problem on: February 16, 2015, 12:45:46 am
 :)Hello, I have a question!
I want to try to shoot a video, but I don't know how to hide the game player head name and blood, who can help me?
8  Liberty Unleashed / Liberty Unleashed Chat / A list of required OBJ on: January 25, 2015, 12:22:10 pm
I want to be a server OBJ, but my Wiki OBJ shows the insufficiency, maybe I network problem? :(

If the list who have a OBJ, please give me the download link, I be indebted forever :)
9  Scripting / Script Help / Server problems. on: January 19, 2015, 12:16:31 pm
Maybe this section is not to ask this place, but I would like to ask what is this?
Before I put my backup server script, I reinstall Windows XP system, but I open the server will appear after the installation, some instructions also can't use, I'm in a hurry, please help me quickly!

 :'( :'(


10  Scripting / Script Help / Help my Script ! on: January 18, 2015, 01:51:13 am
Everybody is good, I have a question to ask. :)
When I get onPlayerEnteredVehicle
I want to get:
If (pVehicle.Model = VEH_POLICE)
MessagePlayer ("You entered Police Car.", player);
But he is wrong, I'm not sure if (pVehicle.Model = VEH_POLICE) wrote is correct
How do I write the script? Please help me!
11  Scripting / Script Releases / [GUI]Server announcement on: December 22, 2014, 11:36:32 pm
Only a GUI script that appear when the players enter the server, click [OK] to close, or birth will be closed :)

--------------------------------------------------------------
g_bEnabled <- false;
g_pLocalPlayer <- FindLocalPlayer();

function onScriptLoad()
{
::g_Window <- GUIWindow( VectorScreen( ScreenWidth - ( ScreenWidth / 1.5 ), ScreenHeight - ( ScreenHeight / 1.5 ) ), ScreenSize( 300, 200 ), "announcement" );
::g_Button <- GUIButton( VectorScreen( 125, 170 ), ScreenSize( 50, 25 ), "OK" );
::g_Text <- GUILabel( VectorScreen( 100, 5 ), ScreenSize( 0, 0 ), "" );
::g_Text1 <- GUILabel( VectorScreen( 10, 5 ), ScreenSize( 0, 0 ), "   Christmas carnival!" );
::g_Text2 <- GUILabel( VectorScreen( 10, 35 ), ScreenSize( 0, 0 ), " Happy New Year:)" );
::g_Text3 <- GUILabel( VectorScreen( 10, 55 ), ScreenSize( 0, 0 ), " By:CN-Svr-Admins" );
::g_Text4 <- GUILabel( VectorScreen( 10, 75 ), ScreenSize( 0, 0 ), "" );
::g_Window.Visible = false;
::g_Window.Colour = Colour( 0, 0, 0 );
::g_Window.Alpha = 150;
::g_Button.Colour = Colour( 100, 100, 100 );
::g_Button.Alpha = 180;
::g_Text.TextColour = Colour( 160, 160, 160 );
::g_Text.FontSize = 11;
::g_Text1.TextColour = Colour( 255, 255, 0 );
::g_Text1.FontSize = 20;
::g_Text2.TextColour = Colour( 255, 255, 0 );
::g_Text2.FontSize = 11;
::g_Text3.TextColour = Colour( 255, 255, 0 );
::g_Text3.FontSize = 11;
::g_Text4.TextColour = Colour( 255, 255, 0 );
::g_Text4.FontSize = 11;
::g_bEnabled = true;
CMDS( true );
AddGUILayer( ::g_Window );
::g_Window.AddChild( ::g_Button );
::g_Window.AddChild( ::g_Text );
::g_Window.AddChild( ::g_Text1 );
::g_Window.AddChild( ::g_Text2 );
::g_Window.AddChild( ::g_Text3 );
::g_Window.AddChild( ::g_Text4 );
::g_Button.SetCallbackFunc( "DeleteCommands" );

return 1;
}

function onClientSpawn( pClass )
{

   ::g_bEnabled = false;
CMDS( false );
   return 1;
}

function DeleteCommands()
{
::g_bEnabled = false;
CMDS( false );
}

function CMDS( enabled )
{
if ( enabled )
{
::g_Window.Visible = true;
ShowMouseCursor( true );
ToggleCameraMovement ( false );
g_pLocalPlayer.Frozen = true;
}
else
{
::g_Window.Visible = false;
ShowMouseCursor( false );
ToggleCameraMovement ( true );
g_pLocalPlayer.Frozen = false;
}
}
--------------------------------------------------------------
Maybe you should create a ann.nut and add a <script file= "ann.nut" client= "1" / > in Script.xml
12  Scripting / Script Releases / [GUI]Server command window on: December 22, 2014, 11:30:58 pm
Edit to change By:Beary

----------------------------------------------------------------------
g_bEnabled <- false;
g_pLocalPlayer <- FindLocalPlayer();

function onScriptLoad()
{
BindKey( 'H', BINDTYPE_DOWN, "HalloThere", 123 );
BindKey( 'M', BINDTYPE_DOWN, "Mouse", 123 );
::g_Window <- GUIWindow( VectorScreen( ScreenWidth - ( ScreenWidth / 1.5 ), ScreenHeight - ( ScreenHeight / 1.5 ) ), ScreenSize( 382, 285 ), "Servers Commands" );
::g_Button <- GUIButton( VectorScreen( 157, 255 ), ScreenSize( 50, 25 ), "OK" );
::g_Text <- GUILabel( VectorScreen( 100, 5 ), ScreenSize( 0, 0 ), "" );
::g_Text1 <- GUILabel( VectorScreen( 10, 5 ), ScreenSize( 0, 0 ), "-------------------- help Commands -------------------" );
::g_Text2 <- GUILabel( VectorScreen( 10, 35 ), ScreenSize( 0, 0 ), "/cmds, /loccmds, /register, /login, /wep, /kill" );
::g_Text3 <- GUILabel( VectorScreen( 10, 55 ), ScreenSize( 0, 0 ), "-------------------- Loc Commands --------------------" );
::g_Text4 <- GUILabel( VectorScreen( 10, 75 ), ScreenSize( 0, 0 ), "/taxi, /jcj, /trj, /airport, /dodo, /jcj2, /hz, /dq, /gd, /tcc, /tyc" );
::g_Text5 <- GUILabel( VectorScreen( 10, 95 ), ScreenSize( 0, 0 ), "/dtz, /fz, /ljc, /xcc, /gt, /cc, /gy, /jcj3, /casino, /home, /sdj" );
::g_Text6 <- GUILabel( VectorScreen( 10, 115 ), ScreenSize( 0, 0 ), "------------------------ Game Commands -----------------------" );
::g_Text7 <- GUILabel( VectorScreen( 10, 135 ), ScreenSize( 0, 0 ), "/report, /spree, /stats, /cash, /car, /goto, /getcar, /getveh" );
::g_Text8 <- GUILabel( VectorScreen( 10, 155 ), ScreenSize( 0, 0 ), "/count, /fix, /heal, /arm, /wep, /changeskin, /statswitch" );
::g_Text9 <- GUILabel( VectorScreen( 10, 175 ), ScreenSize( 0, 0 ), "/s, /time, /findsphere, /find, /speedo, /lockcar, /gotoloc" );
::g_Text10 <- GUILabel( VectorScreen( 10, 195 ), ScreenSize( 0, 0 ), "------------------------ Admin Commands ------------------------" );
::g_Text11 <- GUILabel( VectorScreen( 10, 215 ), ScreenSize( 0, 0 ), "/aplogin, /ann, /get, /freeze, /unfreeze, /mute, /acmds" );
::g_Text12 <- GUILabel( VectorScreen( 10, 235 ), ScreenSize( 0, 0 ), "/kick, /ban, /unban, /alias, /getip, /setlevel, /giveadmin" );

::g_Window.Visible = false;
::g_Window.Colour = Colour( 0, 0, 0 );
::g_Window.Alpha = 150;
::g_Button.Colour = Colour( 100, 100, 100 );
::g_Button.Alpha = 180;
::g_Text.TextColour = Colour( 160, 160, 160 );
::g_Text.FontSize = 11;
::g_Text1.TextColour = Colour( 255, 255, 0 );
::g_Text1.FontSize = 13;
::g_Text2.TextColour = Colour( 127, 255, 212 );
::g_Text2.FontSize = 11;
::g_Text3.TextColour = Colour( 255, 255, 0 );
::g_Text3.FontSize = 13;
::g_Text4.TextColour = Colour( 127, 255, 212 );
::g_Text4.FontSize = 11;
::g_Text5.TextColour = Colour( 127, 255, 212 );
::g_Text5.FontSize = 11;
::g_Text6.TextColour = Colour( 255, 255, 0 );
::g_Text6.FontSize = 11;
::g_Text7.TextColour = Colour( 127, 255, 212 );
::g_Text7.FontSize = 11;
::g_Text8.TextColour = Colour( 127, 255, 212 );
::g_Text8.FontSize = 11;
::g_Text9.TextColour = Colour( 127, 255, 212 );
::g_Text9.FontSize = 11;
::g_Text10.TextColour = Colour( 255, 255, 0 );
::g_Text10.FontSize = 11;
::g_Text11.TextColour = Colour( 127, 255, 212 );
::g_Text11.FontSize = 11;
::g_Text12.TextColour = Colour( 127, 255, 212 );
::g_Text12.FontSize = 11;

AddGUILayer( ::g_Window );
::g_Window.AddChild( ::g_Button );
::g_Window.AddChild( ::g_Text );
::g_Window.AddChild( ::g_Text1 );
::g_Window.AddChild( ::g_Text2 );
::g_Window.AddChild( ::g_Text3 );
::g_Window.AddChild( ::g_Text4 );
::g_Window.AddChild( ::g_Text5 );
::g_Window.AddChild( ::g_Text6 );
::g_Window.AddChild( ::g_Text7 );
::g_Window.AddChild( ::g_Text8 );
::g_Window.AddChild( ::g_Text9 );
::g_Window.AddChild( ::g_Text10 );
::g_Window.AddChild( ::g_Text11 );
::g_Window.AddChild( ::g_Text12 );
::g_Button.SetCallbackFunc( "DeleteCommands" );

return 1;
}

function HalloThere( somenumber )
{
::g_bEnabled = true;
CMDS( true );
Message( "Click OK to close, if not please press [M] By:"   somenumber );

}
 
function Mouse( somenumber )
{
ShowMouseCursor( false );
ToggleCameraMovement ( true );
Message( "You have restored the mouse By:"   somenumber );
}
 

function onClientCommand( cmd, text )
{
if ( cmd == "cmds" )
{
if ( ( text ) && ( text == "off" ) )
{
::g_bEnabled = false;
CMDS( false );
}
else
{
::g_bEnabled = true;
CMDS( true );
}
}

return 1;
}

function DeleteCommands()
{
::g_bEnabled = false;
CMDS( false );
}

function CMDS( enabled )
{
if ( enabled )
{
::g_Window.Visible = true;
ShowMouseCursor( true );
ToggleCameraMovement ( false );
g_pLocalPlayer.Frozen = true;
}
else
{
::g_Window.Visible = false;
ShowMouseCursor( false );
ToggleCameraMovement ( true );
g_pLocalPlayer.Frozen = false;
}
}
----------------------------------------------------------------------
Maybe you should create a new cmd.nut and Script.xml joined <script file= in "cmd.nut" client= "1" / >

????? :)  I from china
13  Liberty Unleashed / Support / Open Server on: December 20, 2014, 01:30:01 am
Hello, MSVCP120.dll will I open the server, download is of no use, the host system is windows Server, I should download what components?

Please come to help me! I'm in a hurry!
14  Scripting / Script Help / Help me! on: December 07, 2014, 04:14:04 am
Everybody is good, I joined bindKey on my server, but it suggests that this is wrong, how can I do? Or you can give me an example.


function onScriptLoad()
{
     BindKey( 'H', BINDTYPE_DOWN, "HalloThere", 123 );
     
     return 1;
}
 
function HalloThere( somenumber )
{
     Message( "Hallo there! " + somenumber );
}
15  Scripting / Scripting Discussion / help MOTD! on: December 06, 2014, 10:46:30 am
Hello everyone, I for my server added MOTD, but after see only 4 u how to change the content I want? Maybe give me a download address
Pages: [1] 2
© Liberty Unleashed Team.