Useful functions and constants for mod developers on CLEO
Developer tools on CLEO
This pack slightly simplifies the development of mods on CLEO - functions and constants.
This pack slightly simplifies the development of mods on CLEO - functions and constants.
Functions:
There are 6 functions in the pack:
* Actor spawn
* Actor spawn shortened
* Spawn cars
* Vehicle spawn reduced
* Pickup spawn
* Train spawn
You include the function via the{$I}at the beginning of the file, and right there you specify the path to the function, for example, like this:{$I actor_spawn.func}. The directive must be at the very beginning of the file (where{$CLEO}is usually written).
Then you have to write only one line (function call).
Function call opcode:
0AB1:
Show SpoilerHide Spoiler
{$CLEO}
{$I car_spawn.func}
0AB1: call_scm_func @car_spawn num_params 17 model #FIRETRUK -2144.25 922.4758 79.8516 angle 269.7736 color_1 26 color_2 1 door_status 1 very_heavy 0 BP 0 FP 0 EP 0 MP 0 CP 0 radio 11 siren 1 engine 0 return_a_1}! Marker.CreateAboveCar(1@, 0@)
0A93: end_custom_thread
{$I car_spawn.func}
0AB1: call_scm_func @car_spawn num_params 17 model #FIRETRUK -2144.25 922.4758 79.8516 angle 269.7736 color_1 26 color_2 1 door_status 1 very_heavy 0 BP 0 FP 0 EP 0 MP 0 CP 0 radio 11 siren 1 engine 0 return_a_1}! Marker.CreateAboveCar(1@, 0@)
0A93: end_custom_thread
Constants:
In my pack you will also find theconst, which contains a large list of various constants that can help in development.
Category:
Section:
Author:
GTA_Masters19
E-mail / website:
File size:
6.40 Kb
File replaces:
Ничего
Uploaded:
Downloads:
173
Download file
Download From Telegram
fast and easy
fast and easy
-
1412087967_funcs-and-consts.7zDownload (0.01 MB)Password: libertycity
-
depositfiles.comDownloadPassword: libertycity
Recommended files
Comments 8