Slike ili Video: //
Opis i dodatne informacije: //
Download link: //
Scan link: //
Credits: realnaith
/*
* Exaust Fire Include
* Author:
* Version: 1.0
*/
#define MAX_EXHAUSTS 10
new Float:exhaustOffsets =
{
{0.0, -1.5, -1.0},
{0.0, -1.5, -1.0},
{0.0, 1.5, -1.0},
{0.0, 1.5, -1.0}
};
stock CreateExhaustFlame(vehicleid)
{
if (!IsValidVehicle(vehicleid)) return;
for (new i = 0; i < MAX_EXHAUSTS; i++)
{
new Float:pos, Float:rot;
GetVehiclePos(vehicleid, pos, pos, pos);
GetVehicleZAngle(vehicleid, rot, rot, rot);
pos += exhaustOffsets;
pos += exhaustOffsets;
pos += exhaustOffsets;
new flameObject = CreateObject(18694, pos, pos, pos, rot, rot, rot);
AttachObjectToVehicle(vehicleid, flameObject, pos, pos, pos, rot, rot, rot);
}
}
