[FilterScript] Vehicle Parachute - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Vehicle Parachute (
/showthread.php?tid=629346)
Vehicle Parachute -
AbyssMorgan - 25.02.2017
Hello, I would like to present you the Vehicle Parachute Script
Video:
https://www.youtube.com/watch?v=TrxYkMeBtsU
Download:
VehPara.inc
3DTryg.inc Thread
ColAndreas Plugin
Installation:
PHP Code:
#include <ColAndreas>
#include <3DTryg>
#include <VehPara>
Functions:
PHP Code:
bool:IsPlayerUsingVehPara(playerid);
bool:IsToggleVehicleParachute(vehicleid);
ToggleVehicleParachute(vehicleid,bool:toggle);
SetVehicleParachuteKey(key);
Callbacks:
PHP Code:
OnVehicleParachuteThrown(playerid,vehicleid);
OnVehicleParachuteOpened(playerid,vehicleid);
OnVehicleParachuteOpenFail(playerid,vehicleid);
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;
}
//Callbacks:
public OnVehicleParachuteThrown(playerid,vehicleid){
GameTextForPlayer(playerid,"~g~Parachute has been thrown",2500,3);
return 1;
}
public OnVehicleParachuteOpened(playerid,vehicleid){
GameTextForPlayer(playerid,"~g~Parachute has been opened",2500,3);
return 1;
}
public OnVehicleParachuteOpenFail(playerid,vehicleid){
GameTextForPlayer(playerid,"~g~Cannot use parachute",2500,3);
return 1;
}
Notice:
Filterscript not exist because filterscripts have limits.
This has been replaced by include, having automatic installation, efficient GameMode/FilterScript.
Non-Registered Users:
Bug Report
Re: Vehicle Parachute -
RyderX - 25.02.2017
OMG! That's very hotty DOPE GOOD JOB ABYSS!
Re: Vehicle Parachute -
Bolex_ - 25.02.2017
It's nice, well done
Respuesta: Vehicle Parachute -
Whyd - 25.02.2017
Very nice!
Re: Vehicle Parachute -
AbyssMorgan - 25.02.2017
Update v1.0.1:
- Fix bug: Parachute object random isn't destroyed.
Re: Vehicle Parachute -
Pottus - 25.02.2017
All we need now is a vehicle slingshot into the vehicle para lol
Re: Vehicle Parachute -
ISmokezU - 25.02.2017
Now i could do my Fast & Furious 8 Plane Scene here
https://www.youtube.com/watch?v=SN53TQoohgE
Re: Vehicle Parachute -
AbyssMorgan - 25.02.2017
Quote:
Originally Posted by ISmokezU
|
Yes films are very inspiring.
Re: Vehicle Parachute -
4D1L - 25.02.2017
Wow it's pretty much like the Ruiner 2000 from gta
, great job!
Re: Vehicle Parachute -
binsieunhan123 - 26.02.2017
Quote:
Originally Posted by AbyssMorgan
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.
|
good
Re: Vehicle Parachute -
XBrianX - 26.02.2017
Reminds me of fast and furious
D
Respuesta: Vehicle Parachute -
Gles - 27.02.2017
Excelente job!
Re: Vehicle Parachute -
Henrik96 - 27.02.2017
Nice work!
Re: Vehicle Parachute -
Pottus - 27.02.2017
You should add control support so you can give it a little forward thrust and control where it goes. Also the magic wand gives me the idea that you could create a whole new weapon system that is generic to handle scripted weapons. I don't have the time to do all these wonderful things so I need to pass my vision for SA-MP to others because almost everything I visioned came to life in SA-MP.
Re: Vehicle Parachute -
Celson - 28.02.2017
That's really cool! Good to see something creative.
Re: Vehicle Parachute -
Damian - 28.02.2017
This is neat, hombre!
Re: Vehicle Parachute -
Janpatrick22 - 28.02.2017
DOPE!
Re: Vehicle Parachute -
Gammix - 28.02.2017
I thought you involved some air physics
Re: Vehicle Parachute -
Hansrutger - 28.02.2017
Lmao that roll at 1:10.
Really nice man, nice crafting!
Re: Vehicle Parachute -
Crayder - 28.02.2017
You should make it so that if they rotate too much the parachute will "fold in". Also, add a VERY slight thrust in the direction the vehicle is leaning. The amount of thrust would depend on how the vehicle is tilted and how real air resistance would push.