Liberty Unleashed
Scripting => Scripting Discussion => Topic started by: Juppi on October 25, 2010, 07:38:42 pm
-
A list of currently known scripting issues can be found from the wiki (http://liberty-unleashed.co.uk/LUWiki/Squirrel/Scripting_Issues). If you're having problems getting something to work check the list if it's a known and not yet fixed issue.
If you do find a scripting related issue you can use Mantis (http://mantis.liberty-unleashed.co.uk/) to report the bug or you can edit the known issues page on the wiki. Alternatively you can post the bug here. Before you do either check that the bug has not yet been reported by someone else.
-
And what is the program for scripting?
-
Notepad?
Or something like Notepad++ which has syntax highlighting.
Squirrel doesn't need any other program.
-
Oh so wrong? or is it difficult
-
What value for the command SetHUDItemEnabled?
-
SetHUDItemEnabled( HUD_ARMOUR, false );
SetHUDItemEnabled( HUD_CLOCK, false );
SetHUDItemEnabled( HUD_HEALTH, false );
SetHUDItemEnabled( HUD_MONEY, false );
SetHUDItemEnabled( HUD_WANTED, false );
SetHUDItemEnabled( HUD_WEAPON, false );
SetHUDItemEnabled( HUD_WEAPON, false );
SetHUDItemEnabled( HUD_RADAR, false );
and true, but those are all the options if im right.
False removes the Item, True enables them back.
-
Thanks
-
SetHUDItemEnabled( HUD_ARMOUR, false );
SetHUDItemEnabled( HUD_CLOCK, false );
SetHUDItemEnabled( HUD_HEALTH, false );
SetHUDItemEnabled( HUD_MONEY, false );
SetHUDItemEnabled( HUD_WANTED, false );
SetHUDItemEnabled( HUD_WEAPON, false );
SetHUDItemEnabled( HUD_WEAPON, false );
SetHUDItemEnabled( HUD_RADAR, false );
and true, but those are all the options if im right.
False removes the Item, True enables them back.
You accidentally listed "SetHUDItemEnabled( HUD_WEAPON, false );" twice. :)
-
And you can use this command to return the names of areas and cars, and generally can it?
How to remove the sight?
-
The people, help me, can I return the names of areas and cars?
Can I remove the sight?
-
Names of areas? You mean GetDistrictName (http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Misc/GetDistrictName)?
And what do you mean with remove the sight?
-
No, I want to be like in a single game display the names of areas
I mean, the sight of weapons
-
I think he means having LU display the area you are driving in when you enter a different one, like single-player did.
You know, that medium-sized text in the bottom-right corner :)
-
Yes you can enable this, surprised Thijn didn't know since he's a tester, but anyway:
/districtnames on
Type this into the chatbox to enable them. :)
-
Yes you can enable this, surprised Thijn didn't know since he's a tester, but anyway:
/districtnames on
Type this into the chatbox to enable them. :)
I'm embarrassed to say it... but i didn't know this either :P I forgot all about that gta3 displayed it in single player
-
Even tho I didn't know it, I didn't understand that was the question. Im surprised you did :P
-
Thank you all)
Is it possible to also enable the names of cars?
-
/vehiclenames on
Type this into the chatbox to enable them. :)
-
Thank you. And no more commands that are not written anywhere?
-
Open up the console, default key ` and type commands :)
-
Just updated the known scripting issues page with some issues with progress bars that I'm having. It seems the bug with the .Visible only seems to occur if you set the visibility inside the onScriptLoad function. If you set it's visiblity after that, it appears to be fine.