03.08.2014, 11:45
(
Последний раз редактировалось ea8de1; 28.04.2015 в 10:08.
)
e_volcano
Simple volcano system
DescriptionSimple volcano system
With this include, you can create volcanoes with real lava, in which you can burn.
Settings
pawn Код:
#define E_VOLCANO_MAX 4 // Maximum number of volcanoes
#define E_VOLCANO_TIME 1000 // Time of update volcanoes timer in milliseconds
#define E_VOLCANO_CO_FUNC CreateDynamicObject // Create object function
#define E_VOLCANO_DO_FUNC DestroyDynamicObject // Destroy object function
CreateVolcano
Description:
Create the volcano.
Parameters:
Код:
Float:pos_x // Position X of volcano object Float:pos_y // Position Y of volcano object Float:pos_z // Position Z of volcano object
The volcano ID.
DestroyVolcano
Description:
Destroy the volcano.
Parameters:
Код:
volcanoid // The volcano ID
true if destroyed or false if volcano is not exist.
IsValidVolcano
Description:
Checking the existence of a volcano.
Parameters:
Код:
volcanoid // The volcano ID
true if exist or false if is not exist.
Example
pawn Код:
CreateVolcano(10.0, 1525.0, 7.0); // Create volcano in desert





Download

Author: ea8de1