Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
Any function to open vehicle doors?
Captain_Mani
Huge Clucker
Posts: 202
Threads: 18
Joined: Sep 2011
Reputation:
0
#1
10.02.2013, 05:20
Is there any function to open vehicle doors?
A function like OnVehicleDoor?
Or any include for it?
Find
Reply
Captain_Mani
Huge Clucker
Posts: 202
Threads: 18
Joined: Sep 2011
Reputation:
0
#2
10.02.2013, 12:02
Bump
Find
Reply
Mean
High-roller
Posts: 2,726
Threads: 85
Joined: Jul 2010
Reputation:
0
#3
10.02.2013, 12:07
You can only detect if a door is locked, not opened.
https://sampwiki.blast.hk/wiki/GetVehicleParamsEx
Find
Reply
MP2
Godfather
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
#4
10.02.2013, 12:14
https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus
->
https://sampwiki.blast.hk/wiki/DoorStates
->
'The first bit stores whether the door is opened(1) or not(0) (the door will still lock (and change the first bit to 0) if closed - its just open)'
It won't actually make the door 'OPEN', it will make it be 'swinging'. That's as close as you can yet, unfortunately.
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help