Show Posts
|
Pages: [1] 2
|
1
|
Off Topic / Spam / Recording
|
on: March 05, 2012, 09:17:21 am
|
I recorded a video of me playing Liberty Unleashed with my Fraps for the first time. The video was just 2:00 minutes lengthy but the size was 450mb. I haven't done any editing in it. File type is .avi Maybe i will use xfire video recorder, Does xfire supports Liberty Unleashed?
|
|
|
2
|
Scripting / Script Snippets / Re: Vehicle Cmds!
|
on: February 22, 2012, 03:14:57 am
|
He was just registered since February 18, 2012, and i think he did not even got any Squirrel class's.
He was in VC-MP squirrel forum for months.
|
|
|
4
|
Off Topic / General Chat / Re: GTA Progress
|
on: February 13, 2012, 10:39:29 am
|
GTA - Completed 2 years ago GTA London - Completed 2 years ago GTA 2 - Completed 2 years ago GTA III - Completed GTA VC - Completed GTA SA - unlocked girlfriend thing. GTA IV - dont have the game
|
|
|
5
|
Liberty Unleashed / LU Clans / Re: Demi Warriors
|
on: February 11, 2012, 12:31:19 pm
|
UPDATE 1. Now Members can use the following tags:Full members: [DW] OR DW. Rookie: [DW_R] OR DWr. Trainee: [DW_T] OR DWt. 2. We have launched a Gang war server, which is still under maintenance. You will be informed once its done.Name: DW|| Gangwar Scripts: {D_W} Version: v0.01a Authors: Based on [Ka]Force's scripts, [DW]Demi_God as head scripter. Progress:12%Above information have been updated in the first post. @Off: Good luck.
Thanks ![Smiley :)](http://liberty-unleashed.co.uk/forum/Smileys/default/smiley.gif)
|
|
|
6
|
Liberty Unleashed / LU Clans / Re: Demi Warriors
|
on: February 10, 2012, 02:15:43 pm
|
hmm , good-luck with clan , maybe our team will play gangwar ![Wink ;)](http://liberty-unleashed.co.uk/forum/Smileys/default/wink.gif)
Thanks. But no thanks for the gangwar right now, i am the only member. ![Grin ;D](http://liberty-unleashed.co.uk/forum/Smileys/default/grin.gif)
|
|
|
8
|
Off Topic / Spam / Game
|
on: February 08, 2012, 02:30:39 pm
|
Count till 50, I hope you guys know this game. I will start ![Tongue :P](http://liberty-unleashed.co.uk/forum/Smileys/default/tongue.gif) 1 ![](http://coloringbookmaker.com/images/pdfs_jpgs/numbers/1.jpg) 2 ![](http://www.smallworldpursuits.com/wp-content/uploads/2011/06/2-months.jpg)
|
|
|
9
|
Liberty Unleashed / LU Clans / Demi Warriors
|
on: February 06, 2012, 12:35:41 pm
|
Demi Warriors ![](http://i40.tinypic.com/se95e9.png) Demi Warriors is a clan started by Demi_God on 6th February 2012 here you can find information about it Clan Tag: [DW]/ DW. , [DW_T]/DWt. , [DW_R]/ DWr.Tag Color: Navy BlueServer Progress: 12% Demi Warriors Rookies Trainees If you want to join us click here for more information about applying etc. click here to view our site
|
|
|
11
|
Scripting / Script Releases / Location system (Database)
|
on: February 04, 2012, 01:19:07 pm
|
Location system (Database) Details This is a script can your current position and goto that position anytime you want. Script Version is 0.2 Coded by Demi_God
Downloads 0.1: Mediafire, Uploading, Filefactory 0.2: Mediafire Instructions 1.Create a new folder in your server Scripts folder and name it as Location 2.Download Location.nut file from one of the above links to Location folder 3.open serverfolder>LU>content.xml and add this line <script folder="Location"/> 4.Now open the Location folder and create a text document file and name it as Script.xml 5.Open Script.xml and add this line <script file="Location.nut" client="0"/> and save it Contains/History 0.1: /saveloc, /gotoloc. 0.2: Fixed memory leakage. Notes 1.You can view the saved location Name, Coordinates and Author's name in Database.sqlite file in your server dir. 2.Please report me if you find any bugs ![Smiley :)](http://liberty-unleashed.co.uk/forum/Smileys/default/smiley.gif) 3.Please don't blame me its my first release ![Wink ;)](http://liberty-unleashed.co.uk/forum/Smileys/default/wink.gif)
|
|
|
12
|
Scripting / Script Help / Re: INI Help
|
on: February 01, 2012, 03:00:53 pm
|
else if ( szCommand == "saveloc" ) { if ( !szParams ) MessagePlayer( "*PM* Usage: /" + szCommand + " <name>", pPlayer, Colour( 255, 0, 0 ) ); else { if ( pPlayer.Spawned ) { local pos = pPlayer.Pos, formatize = format( "%.10f", pos.x ) + "," + format( "%.10f", pos.y ) + "," + format( "%.10f", pos.z ) + "," + format( "%.10f", pPlayer.Angle ); SavedLocs.Add( szParams, formatize ); SavedLocs.Save( "Hashes/SavedLocs.hsh" ); MessagePlayer( "*PM* Location saved as: " + szParams, pPlayer, Colour( 0, 255, 0 ) ); } else MessagePlayer( "*PM* Error: You are not spawned. Press CTRL to spawn", pPlayer, Colour( 255, 0, 0 ) );
return 1; } }
else if ( szCommand == "gotoloc" ) { if ( !szParams ) MessagePlayer( "*PM* Usage: /" + szCommand + " <name>", pPlayer, Colour( 255, 0, 0 ) ); else { if ( SavedLocs.Get( szParams ) ) { if ( pPlayer.Spawned ) { local coords = SavedLocs.Get( szParams ), spl = split( coords, "," ); local newpos = Vector( spl[ 0 ].tofloat(), spl[ 1 ].tofloat(), spl[ 2 ].tofloat() ); pPlayer.Pos = newpos; pPlayer.Angle = spl[ 3 ].tofloat(); MessagePlayer( "*PM* You teleported to location: " + szParams, pPlayer, Colour( 0, 255, 0 ) ); } else MessagePlayer( "*PM* Error: You are not spawned. Press CTRL to spawn", pPlayer, Colour( 255, 0, 0 ) ); } else MessagePlayer( "*PM* Error: That location does not exist in the database", pPlayer, Colour( 255, 0, 0 ) ); return 1; } }
also
function LoadHashes() { SavedLocs <- HashTable( "Hashes/SavedLocs.hsh" ); SavedLocs.Load( "Hashes/SavedLocs.hsh" ); return 1; }
Thanks, so whats the use of INI?
|
|
|
13
|
Scripting / Script Help / INI Help
|
on: February 01, 2012, 01:31:53 pm
|
Command:
(3)if ( cmd == "s" ) (4) { (5) local pos = player.Pos; (6) if( text ) (7) { (8) MessagePlayer( "Saved location: " + pos.x + "," + pos.y + "," + pos.z + " as " + text + ".", player ); (9) WriteIniFloat( "Locations.ini", text, "x", pos.x ); (10) WriteIniFloat( "Locations.ini", text, "y", pos.y ); (11)WriteIniFloat( "Locations.ini", text, "z", pos.z ); (12) } (13) else MessagePlayer("Error: /s (location_name)",player); (14) } The problem is when i type /s (text), It doesn't save the anything in-game instead it prints the following text in Rcon:
<31/01/2012 - 21:07:37> *FUNCTION [onPlayerCommand()] Scripts/Main/main.nut line [9] <31/01/2012 - 21:07:37> LOCALS <31/01/2012 - 21:07:37> [pos] INSTANCE <31/01/2012 - 21:07:37> [text] "Bank" <31/01/2012 - 21:07:37> [cmd] "s" <31/01/2012 - 21:07:37> [player] INSTANCE <31/01/2012 - 21:07:37> [this] TABLE I have loaded the required module:
function onScriptLoad() { LoadModule("lu_ini"); print( "** Scripts loaded sucessfully" ); return 1; }
|
|
|
|