SA-MP Forums Archive
vehicle door open - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: vehicle door open (/showthread.php?tid=650073)



vehicle door open - DeMoo - 20.02.2018

hi everyone, i need open vehicle back door anyone can help me?




Re: vehicle door open - Mugala - 20.02.2018

@RogueDrifter, he can simply do it with UpdateVehicleDamageStatus, with setting a door's correct state.

first, we'll get DamageStatus with GetVehicleDamageStatus and than if it's broken we'll set broken open state, if not, just open state...

https://sampwiki.blast.hk/wiki/GetVehicleDamageStatus
https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus
https://sampwiki.blast.hk/wiki/DoorStates


Re: vehicle door open - DeMoo - 20.02.2018

thank you very much


Re: vehicle door open - RogueDrifter - 20.02.2018

Quote:
Originally Posted by Mugala
Посмотреть сообщение
@RogueDrifter, he can simply do it with UpdateVehicleDamageStatus, with setting a door's correct state.

first, we'll get DamageStatus with GetVehicleDamageStatus and than if it's broken we'll set broken open state, if not, just open state...

https://sampwiki.blast.hk/wiki/GetVehicleDamageStatus
https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus
https://sampwiki.blast.hk/wiki/DoorStates
No i dont think thats what he wanted. It sounded more like wanting to let people inside (not possible afaik)