[Include] e_volcano — Simple volcano system
#1

e_volcano
Simple volcano system
Description

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
Functions

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
Return:
The volcano ID.

DestroyVolcano

Description:
Destroy the volcano.

Parameters:
Код:
volcanoid // The volcano ID
Return:
true if destroyed or false if volcano is not exist.

IsValidVolcano

Description:
Checking the existence of a volcano.

Parameters:
Код:
volcanoid // The volcano ID
Return:
true if exist or false if is not exist.

Example

pawn Код:
CreateVolcano(10.0, 1525.0, 7.0); // Create volcano in desert
Screenshots











Download



Author: ea8de1
Reply


Messages In This Thread
e_volcano — Simple volcano system - by ea8de1 - 03.08.2014, 11:45
Re: e_volcano — Simple volcano system - by Steel_ - 03.08.2014, 11:49
Re: e_volcano — Simple volcano system - by ea8de1 - 03.08.2014, 12:41
Re: e_volcano — Simple volcano system - by Jochemd - 03.08.2014, 12:47
Re: e_volcano — Simple volcano system - by Lordzy - 03.08.2014, 16:51
Re: e_volcano — Simple volcano system - by ea8de1 - 03.08.2014, 18:47
Re: e_volcano — Simple volcano system - by Mark_Weston - 05.08.2014, 01:29
Re: e_volcano — Simple volcano system - by ea8de1 - 05.08.2014, 07:35

Forum Jump:


Users browsing this thread: 1 Guest(s)