SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 09/12/2016, 09:03 PM   #11
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Vehicle Extended Functions

Update v2.1.0:

- Added functions:
PHP Code:
bool:IsValidVehicleModelID(modelid);

SwitchVehicleEngine(vehicleid,bool:engine_status);
SwitchVehicleAlarm(vehicleid,bool:alarm_status);
SwitchVehicleDoors(vehicleid,bool:doors_status);
SwitchVehicleBonnet(vehicleid,bool:bonnet_status);
SwitchVehicleBoot(vehicleid,bool:boot_status);
SwitchVehicleObjective(vehicleid,bool:objective_status); 
- Fixed functions:
PHP Code:
GetVehiclePaintjob(vehicleid); //return INVALID_PAINTJOB_ID if vehicle is invalid 
AbyssMorgan is offline   Reply With Quote
Old 17/04/2017, 09:34 AM   #12
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 450
Reputation: 56
Default Re: Vehicle Extended Functions

I came from Gammix's thread.
Can you add features like this?is this possible ?

Quote:
Originally Posted by Gammix View Post
Actually i can make colored windows if i get accurate window object ids, would be a hard working getting all offsets though.

@Crayder: I will add that with the new update.

Next update could have following features:
  • A new custom vehicle extensions system (relevant to AddComponentToVehicle)
    For example:
    pawn Code:
    AddVehicleExtension(vehicleid, VEHICLE_EXTENSION_NEON, 0);//adds a red neon
    Aother example is:
    pawn Code:
    AddVehicleExtension(vehicleid, VEHICLE_EXTENSION_SMOKE, 0);//adds a medium density smoke to the vehicle engine
  • Vehicle wheel colors (adjustable with wheel types)
  • Vehicle wheel spray system (like in GTA V, using key combinations, produce wheel smoke/spray)
  • Maybe a well developed vehicle indicator lights system
Though i don't claim these features will be there in the next update, maybe a delay can be made.
Dice_ is offline   Reply With Quote
Old 17/04/2017, 12:22 PM   #13
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Vehicle Extended Functions

Quote:
Originally Posted by Dice_ View Post
I came from Gammix's thread.
Can you add features like this?is this possible ?
For colored window, i need car window object
AbyssMorgan is offline   Reply With Quote
Old 17/04/2017, 04:10 PM   #14
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 450
Reputation: 56
Default Re: Vehicle Extended Functions

1649,3034,3858,3859,

Try it,I'm on my phone right now,can't check it
Dice_ is offline   Reply With Quote
Old 17/04/2017, 04:32 PM   #15
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Vehicle Extended Functions

Quote:
Originally Posted by Dice_ View Post
1649,3034,3858,3859,

Try it,I'm on my phone right now,can't check it
To big, need small object
AbyssMorgan is offline   Reply With Quote
Old 17/04/2017, 10:12 PM   #16
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: Vehicle Extended Functions

Quote:
Originally Posted by Dice_ View Post
I came from Gammix's thread.
Can you add features like this?is this possible ?
Hmm, after thinking, I find the only possible is the neon system.
AbyssMorgan is offline   Reply With Quote
Old 20/04/2017, 06:01 PM   #17
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 450
Reputation: 56
Default Re: Vehicle Extended Functions

Quote:
Originally Posted by AbyssMorgan View Post
Hmm, after thinking, I find the only possible is the neon system.
sad react only ;_;
Dice_ is offline   Reply With Quote
Old 20/04/2017, 06:19 PM   #18
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,766
Reputation: 840
Default Re: Vehicle Extended Functions

Quote:
Originally Posted by Gammix View Post
A new custom vehicle extensions system (relevant to AddComponentToVehicle)
For example:
pawn Code:
AddVehicleExtension(vehicleid, VEHICLE_EXTENSION_NEON, 0);//adds a red neon
Aother example is:
pawn Code:
AddVehicleExtension(vehicleid, VEHICLE_EXTENSION_SMOKE, 0);//adds a medium density smoke to the vehicle engine
Neon is regular neon. About smoke, there are lot of smoke objects you can use to attach at vehicle wheel or engine and so, just need to get the coordinates.

Quote:
Originally Posted by Gammix View Post
Vehicle wheel colors (adjustable with wheel types)
This one would be hard and not look good, so leave this.

Quote:
Originally Posted by Gammix View Post
Vehicle wheel spray system (like in GTA V, using key combinations, produce wheel smoke/spray)
Similar case to smoke but only when a player does burnout.

Quote:
Originally Posted by Gammix View Post
Maybe a well developed vehicle indicator lights system
'This already exist as a filterscript, just need to port or leave it!
__________________

Follow me on Github: Follow me on Spotify: Donate on Paypal:

Gammix is online now   Reply With Quote
Old 20/04/2017, 06:45 PM   #19
Max_Andolini
Huge Clucker
 
Max_Andolini's Avatar
 
Join Date: Oct 2013
Posts: 315
Reputation: 37
Default Re: Vehicle Extended Functions

Quote:
Originally Posted by Gammix View Post
Neon is regular neon. About smoke, there are lot of smoke objects you can use to attach at vehicle wheel or engine and so, just need to get the coordinates.


This one would be hard and not look good, so leave this.


Similar case to smoke but only when a player does burnout.


'This already exist as a filterscript, just need to port or leave it!
I think add real car "Long and dipped headlight system and Right-left-quad signals"
Max_Andolini is offline   Reply With Quote
Old 20/04/2017, 09:54 PM   #20
Mutha_X
Gangsta
 
Join Date: Sep 2009
Location: recursion
Posts: 658
Reputation: 37
Default Re: Vehicle Extended Functions

Quote:
Originally Posted by Gammix View Post
Similar case to smoke but only when a player does burnout.
And drifting
Mutha_X 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
[Include] Extended vehicle functions Emmet_ Includes 63 21/11/2016 09:00 PM
[Include] Extended Actor Functions Admigo Includes 16 18/10/2016 05:10 PM
[Include] Extended Actor Functions Emmet_ Includes 47 09/07/2016 08:23 AM
[Include] Extended functions on Vehicles / Seats d3ll Includes 3 04/08/2014 06:25 AM
[Include] FCNPC Extended Functions Pottus Includes 3 27/05/2014 04:37 AM


All times are GMT. The time now is 11:51 PM.


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