[FilterScript] Vehicle Parachute
#1

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:
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
Reply
#2

OMG! That's very hotty DOPE GOOD JOB ABYSS!
Reply
#3

It's nice, well done
Reply
#4

Very nice!
Reply
#5

Update v1.0.1:
- Fix bug: Parachute object random isn't destroyed.
Reply
#6

All we need now is a vehicle slingshot into the vehicle para lol
Reply
#7

Now i could do my Fast & Furious 8 Plane Scene here

https://www.youtube.com/watch?v=SN53TQoohgE
Reply
#8

Quote:
Originally Posted by ISmokezU
View Post
Now i could do my Fast & Furious 8 Plane Scene here

https://www.youtube.com/watch?v=SN53TQoohgE
Yes films are very inspiring.
Reply
#9

Wow it's pretty much like the Ruiner 2000 from gta, great job!
Reply
#10

Quote:
Originally Posted by AbyssMorgan
View Post
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:
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
Reply
#11

Reminds me of fast and furious D
Reply
#12

Excelente job!
Reply
#13

Nice work!
Reply
#14

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.
Reply
#15

That's really cool! Good to see something creative.
Reply
#16

This is neat, hombre!
Reply
#17

DOPE!
Reply
#18

I thought you involved some air physics
Reply
#19

Lmao that roll at 1:10.

Really nice man, nice crafting!
Reply
#20

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)