Hello, I would like to present you the Vehicle Parachute Script
Video:
https://www.youtube.com/watch?v=TrxYkMeBtsU
Download:
VehPara.inc
GitHub /
Abyss Morgan Website
3DTryg.inc
GitHub /
Abyss Morgan Website Thread
ColAndreas Plugin
Thread
Instalation:
PHP Code:
#include <SAM/3DTryg>
#include <VehPara>
Functions:
PHP Code:
bool:IsPlayerUsingVehPara(playerid);
bool:IsToggleVehicleParachute(vehicleid);
ToggleVehicleParachute(vehicleid,bool:toggle);
Activation:
PHP Code:
H - Open/thrown parachute
Example Code:
PHP Code:
CMD:vehpara(playerid){
new vid = GetPlayerVehicleID(playerid);
if(IsToggleVehicleParachute(vid)) return SendClientMessage(playerid,0xCC0000FF,"Your vehicle already has a parachute");
if(!IsVehicleFlag(GetVehicleFlags(vid),VF_STREET)) return SendClientMessage(playerid,0xCC0000FF,"For this vehicle can not be mounted parachute");
ToggleVehicleParachute(vid,true);
return 1;
}
Notice:
Filterscript not exist because filterscripts have limits.
This has been replaced by include, having automatic installation, efficient GameMode/FilterScript.