banner
Rating
Voted0

h4e API Packages Build 2402202001

3
Mod version:1
Game version:1
The mod has been successfully tested for the absence of viruses
4341K153.49K

Report mod

  • image
modalImage

About This Mod

My mods are based on the h4e package API. This mod provides my mods with various functions and information.

- Central provision of the game.h4e_api variable, with one API inclusion, so all the code can be used for all other mods that follow.

Debug functions:

- Debugging functions such as var_dump, error or message debugging in stdout.txt.

- Centralized control of debug status via game.h4e_api.debug.state.

- Debug status can also be enabled using Mod h4e Packages API Debug Mode Mod mode, here also debug mode must be enabled according to Packages API in the boot order.

General functions:

- delete, delete table parameter.

- replaces, replaces any text with the specified text.

- strlen, counts the length of the variable and returns the result.

- is_nil, checks if the variable is zero.

- search, search for certain text, for example "a" in a certain variable, for example "abc", function found true.

- table_length, counts the length of the table and returns the result.

split, divides a variable at a specific point, such as "." Then returns a result in an array.

The functions were named for the purest reasons, because otherwise I work in the field of PHP and the functions are more likely to be found under that name.

You can create your own mods and use the package API functions. For further processing of other mods, I first request a message, without agreeing to any publication or disclosure.

The mod should be in the order of loading before all other mods that I developed.

Similar Mods/Addons

Game Version *

1 (1951003886_h4e_Packages_API_Build_2402202001.zip)