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]
1  Liberty Unleashed / Bug Reports / Critical security flaw on: November 25, 2013, 01:28:40 pm
Can I contact with stuff about critical security flaw in LU ?

Using LU server is UNSAFE for a computer, where it running.
2  Scripting / Script Help / Replace one letter with another in the string on: November 07, 2013, 07:42:58 am
Code: [Select]
txt="Sometext";How to replace a letter in the string? I try:
Code: [Select]
local letter="c";
...but nothing works(

Maybe Squirel have analog of str_replace() ?
3  Scripting / Script Releases / District Name on: November 06, 2013, 11:52:41 pm
That script displays a name of current district on the left bottom corner of the screen, under radar. Can be useful for RP servers.

That is client script.

Code: [Select]
/* District Name  ||  Author: ZX_Lost_Soul  ||  Free to use
That script displays a name of current district on the left bottom corner of the screen, under radar */

local plr=FindLocalPlayer();
local CurDistrict;

// Initializing
function onScriptLoad() {
DistrictName <- GUILabel(VectorScreen(20, ScreenHeight-45), ScreenSize(100,3), "Welcome");
DistrictName.TextColour=Colour(255, 123, 0);
NewTimer("district_name_upd", 2500, 0);

// District name update
function district_name_upd() {
local pos=plr.Pos;
local dis=GetDistrictName(pos.x, pos.y);
if(CurDistrict!=dis) {
4  Scripting / Script Help / Reload Client Scripts on: October 25, 2013, 04:55:05 pm
Is that possible to force client scripts update for players? (without leave/join server)

Or not?
5  Scripting / Scripting Discussion / Questions about XML on: February 22, 2013, 08:22:39 pm
Hi all! My English very poor, but I need your advice.

How I can run a server command "reload_content" from the script? Or maybe some function to reload content.xml ? I need it for in-game content editor (I'll post it when it was completed).

And there is no info in the wiki about XML functions :( Can anyone, please, write example code, how to REMOVE this line form the content.xml?
Code: [Select]
<vehicle model="112" x="298.360046" y="-7.000920" z="16.286818" angle="212.322281" col1="-1" col2="-1" />
6  Scripting / Script Help / CallClientFunc sintax on: January 12, 2011, 09:22:48 pm
I want to call a client function...
Code: [Select]
CallClientFunc( "skills/skills_binds.nut", "Bangornot", 3 );...but it return a [invalid instance type] error :( Tell me please, how to use this function?
7  Scripting / Script Help / Get player animtion or shoot or LMB press on: December 18, 2010, 11:22:36 pm
I making a crouch script and I need to make a condition - player stand up...

Tell me please, is it real to make one of that?

1. Set current player animation to variable?
2. Bind a function on left mouse button?
3. Make event on player shoot (NOT shoot at other player, at sky for example)
8  Liberty Unleashed / Suggestions / Russian Font on: December 17, 2010, 11:04:56 pm
Tell me please... Can I use a Russian letters in a game chat? What I shoud do to use Russian fonts?
9  Liberty Unleashed / Liberty Unleashed Chat / How to watch my coordinats in game? on: December 03, 2010, 10:38:28 pm
Sorry, but I don't understand...

How I can watch my coordinats or coordinats of my car in game? To write it at the content.xml for weapon and vehicles...
Pages: [1]
© Liberty Unleashed Team.