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 / Liberty Unleashed Chat / Re: Stop Driving on the Wrong Side of the Road on: December 02, 2011, 04:17:07 pm
It is GTA and I am gonna drive wherever I want  :-*
2  Liberty Unleashed / Suggestions / Re: player.StopAnim on: October 13, 2011, 09:21:34 pm
player.Pos = player.Pos doesnt work?
3  Scripting / Script Snippets / Re: Get a list of players as a table. on: July 27, 2011, 04:56:16 pm
The global variables need to be in the main file?
Or any of the dofile'd files?
4  Scripting / Script Snippets / Re: Get a list of players as a table. on: July 27, 2011, 12:42:02 pm
Its a nice way to traverse through players.
Saves a lot of iterations when traversing through all players ingame :)

But theres a problem.

I want to access the global table declared in a .nut file, in a different .nut file.
It shows an error: "the index 'players' does not exist"

Is there any way to use these tables(or any other global variable) in more than one .nut files?
5  Liberty Unleashed / Liberty Unleashed Chat / Re: Liberty Unleashed Clan League on: July 18, 2011, 05:33:54 pm
Nice...
You guys should enable alliances.
So players who are not in any gang can ally themselves with another gang.

Ima post on VU forums and try to convince guys to be here.
Then this will work out coz charley will deploy his organizing skill and start his advertising campaign and get other clans too :)
6  Scripting / Script Help / File handling in Squirrel | Debugging problems on: March 10, 2011, 02:14:18 pm
Hey,
I need some help regrding Text files
What are the functions to read/write a string into a .txt file?
Does the C/C++functions work in squirrel?? like fwrite, fread etc....

I couldnt find them in Squirrel standard library. I need them for storing chat logs.
If there is a better way to store logs then please suggest that :)



Also.
I seem to have a problem with detecting syntax errors in the script. So Debugging takes too long.
If i use a keyword that does not exists in any library/module.....or in case i call a function that does not exists, the server does not pop up any error.
Same is the case with other noob typo errors, which happen a lot with me.
So it is hard to know which part of the script has error.

I did find something related to it on VCMP unofficial forums.
Please post some another example or some illustration regarding error detection.
Try wrapping try and catch around parts of your script, then reading the console window after the crash.

E.G.
Code: [Select]
function onScriptLoad()
{
      try{
           examplefunction();
           eDB <- ConnectSQL( "example.db" );
           }
           catch(e) print("onScriptLoad error: " + e);
}


Thanks'yo!!  :)
7  Liberty Unleashed / Suggestions / Change the Nick/HP bar display on: December 23, 2010, 07:08:44 pm
I noticed that even if a player is behind an opaque object, his nickname and HP bar is visible.
Can it be modified like VCMP.......imo you should be able to see the nick and HP only if you can see the target himself.

Its useful for RP servers where the radar is disabled or something like that. Players can be a lil stealthy :)

Also, the nickname is zoomed when you are far from a player.
Though a big name over a distant player is a bit ugly, but its ok and handy in some sitiuations. So i'd rather keep that unchanged.
Pages: [1]
© Liberty Unleashed Team.