SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 25/02/2017, 12:08 PM   #1
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Cool Vehicle Parachute

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

Last edited by AbyssMorgan; 08/10/2019 at 06:12 PM. Reason: Update v1.2.0
AbyssMorgan is offline   Reply With Quote
Old 25/02/2017, 12:30 PM   #2
RyderX
Banned
 
Join Date: Oct 2016
Location: Lebanon,Beirut Rank: SA-MP Scripter
Posts: 564
Reputation: 53
Default Re: Vehicle Parachute

OMG! That's very hotty DOPE GOOD JOB ABYSS!
RyderX is offline   Reply With Quote
Old 25/02/2017, 12:35 PM   #3
Bolex_
Gangsta
 
Bolex_'s Avatar
 
Join Date: Aug 2015
Location: Croatia.
Posts: 592
Reputation: 117
Default Re: Vehicle Parachute

It's nice, well done
Bolex_ is offline   Reply With Quote
Old 25/02/2017, 12:36 PM   #4
Whyd
Huge Clucker
 
Whyd's Avatar
 
Join Date: Sep 2012
Location: /
Posts: 416
Reputation: 30
Default Respuesta: Vehicle Parachute

Very nice!
Whyd is offline   Reply With Quote
Old 25/02/2017, 01:32 PM   #5
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Vehicle Parachute

Update v1.0.1:
- Fix bug: Parachute object random isn't destroyed.
AbyssMorgan is offline   Reply With Quote
Old 25/02/2017, 02:41 PM   #6
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,848
Reputation: 1312
Default Re: Vehicle Parachute

All we need now is a vehicle slingshot into the vehicle para lol
Pottus is offline   Reply With Quote
Old 25/02/2017, 03:03 PM   #7
ISmokezU
Gangsta
 
Join Date: Aug 2016
Posts: 543
Reputation: 73
Default Re: Vehicle Parachute

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

https://www.youtube.com/watch?v=SN53TQoohgE
ISmokezU is offline   Reply With Quote
Old 25/02/2017, 03:08 PM   #8
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Vehicle Parachute

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.
AbyssMorgan is offline   Reply With Quote
Old 25/02/2017, 03:16 PM   #9
4D1L
Big Clucker
 
Join Date: Mar 2016
Location: United Kingdom
Posts: 73
Reputation: 20
Default Re: Vehicle Parachute

Wow it's pretty much like the Ruiner 2000 from gta, great job!
4D1L is offline   Reply With Quote
Old 26/02/2017, 09:30 AM   #10
binsieunhan123
Little Clucker
 
Join Date: Mar 2016
Posts: 11
Reputation: 0
Default Re: Vehicle Parachute

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
binsieunhan123 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
parachute bug beckzy Scripting Help 3 12/02/2015 08:20 PM
Parachute bug Blacklite Bug Reports 4 14/12/2014 02:31 AM
Unoccupied vehicle sync, boat surfing pausing issue, parachute with vehicle issue, surfing w/ skydiving issue Kar Bug Reports 2 10/06/2013 10:24 AM
[HELP]Vehicle Parachute? [NYRP]Mike. Help Archive 0 23/12/2009 06:47 PM
Parachute bug? Rizard Help Archive 1 03/09/2009 12:18 PM


All times are GMT. The time now is 03:17 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.