Main Menu
Menu

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 Menu

Messages - Lucy

#1
^
#2
Module Releases / INI module
February 23, 2019, 03:09:40 PM

INI module

Installation

Add to your server.xml in <modules> section]
<module src="INI" />
[/code]

Example

ptr = module.ini.create();

ptr.loadFile("abc.txt")

ptr.setString("Section", "Test", "Hello world!", "Comment example");

ptr.saveFile("abc.txt")

module.ini.delete(ptr);

Functions/props availables
[spoiler]
* ptr.errno(int errid)

* ptr.reset();

* ptr.delete(string szSection, string szKey, bool bRemoveEmpty = true);

* ptr.isEmpty();

* ptr.isMultiKey();

* ptr.isMultiLine();

* ptr.isUnicode();

* ptr.isUsingSpaces()

* ptr.setUnicode(bool bUnicode)

* ptr.loadFile(string szFile)

* ptr.saveFile(string szFile, bool bSign)

* ptr.getBoolValue(string szSection, string szKey, bool bDefaultValue = false)

* ptr.getIntValue(string szSection, string szKey, int iDefaultValue = 0)

* ptr.getFloatValue(string szSection, string szKey, float fDefaultValue = 0.0)

* ptr.getString(string szSection, string szKey, string szDefaultValue = "")

* ptr.setBoolValue(string szSection, string szKey, bool bValue, string szComment = "", bool bForceReplace = false)

* ptr.setIntValue(string szSection, string szKey, int iValue, string szComment = "", bool bUseHex = false, bool bForceReplace = false)

* ptr.setFloatValue(string szSection, string szKey, float fValue, string szComment = "", bool bReplace = false)

* ptr.setString(string szSection, string szKey, string szValue, string szComment = "", bool bForceReplace = false)
[/spoiler]

https]Download[/url]
#3
Suggestions / Re: For the Next Update
February 23, 2019, 02:51:27 PM
Quote from: Vortrex post_id=267 time=1550766730 user_id=48As for the other two options ... I'm not sure what you mean by this. What letters are you talking about? Can you post a screenshot or something?


he means font
#4
Archive / [ADDED] Server ARM builds
January 26, 2019, 02:26:31 AM
So we could host the server for example in a raspberry pi.
#5
Suggestions / Re: Pickup Functions and Events
January 04, 2019, 12:42:18 AM

onPickupPickedUp
#6
Archive / Re: Money inc/dec animation
January 03, 2019, 11:47:28 PM
Quote from: bluesn0w post_id=239 time=1546381767 user_id=125You could script that, couldn't you?


eh, no?
#7
Archive / Re: player.invisibility
January 03, 2019, 11:46:57 PM
that would be more like ped.alpha
#8
Archive / [ADDED] Enter/exit vehicle event
December 29, 2018, 06:58:36 PM
Currently, we have (only serversided) onPedEnterVehicle, which is called a lot of times instead of once.



A single enter/exit before and after events would be really useful.
#9
Suggestions / Stop vehicle when driveTo is used
December 27, 2018, 01:46:56 PM
When driveTo is used, vehicle can't be driven.



vehicle.stop();
#10
Archive / [ADDED] Money inc/dec animation
December 27, 2018, 01:30:12 PM
Using localPlayer.money it just changes the money directly instead of using the animation of increasing/decreasing.
#11
Archive / [ADDED] Read weapon ammo from slots/id
December 27, 2018, 01:19:15 PM
SA/VC:

player.getWeaponAmmoFromSlot(int slotId);

III:

player.getWeaponAmmoFromSlot(int weaponId);
#12
General Chat / Re: Questions
June 20, 2018, 11:05:20 PM
1. Yes

2. Yes, if d3d9 is used

3. Yes, they are
#13
General Chat / Re: questions
June 16, 2018, 03:20:17 AM
Quote from: vito post_id=152 time=1529087578 user_id=105Ok, seems its more far from scripters needs than vc-mp, sad.


VCMP 0.4 update took a lot of time, so just make pop corn while GTAC devs works on the project.
#14
Suggestions / Re: some mods that id like to see
May 08, 2018, 10:19:54 PM
Breakable windshields and tyres are already on our task list.