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:
Functions:
Activation:
Example Code:
Notice:
Filterscript not exist because filterscripts have limits.
This has been replaced by include, having automatic installation, efficient GameMode/FilterScript.
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>
PHP Code:
bool:IsPlayerUsingVehPara(playerid);
bool:IsToggleVehicleParachute(vehicleid);
ToggleVehicleParachute(vehicleid,bool:toggle);
PHP Code:
H - Open/thrown parachute
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;
}
Filterscript not exist because filterscripts have limits.
This has been replaced by include, having automatic installation, efficient GameMode/FilterScript.