How to lock car/vehicle in 0.3c ?
#1

Does anyone knows how to lock a vehicle & unlock it in SAMP 0.3c ?
Reply
#2

https://sampwiki.blast.hk/wiki/GetVehicleParamsEx
https://sampwiki.blast.hk/wiki/SetVehicleParamsEx
Reply
#3

https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer :P
Reply
#4

How do i unlock the vehicle that i just locked?
Reply
#5

Quote:
Originally Posted by Matej_
Посмотреть сообщение
How do i unlock the vehicle that i just locked?
Read:
Quote:
Originally Posted by Jefff
Посмотреть сообщение
Reply
#6

Quote:
Originally Posted by DVDK
Посмотреть сообщение
Read:
Yeah, but how do i unlock it if i'm outside of car, that i am near it??
Reply
#7

Quote:
Originally Posted by Matej_
Посмотреть сообщение
Yeah, but how do i unlock it if i'm outside of car, that i am near it??
Good question. I would also like to know that.
Reply
#8

Quote:
Originally Posted by Matej_
Посмотреть сообщение
Yeah, but how do i unlock it if i'm outside of car, that i am near it??
Quote:
Originally Posted by kasis223
Посмотреть сообщение
Good question. I would also like to know that.
You could create a stock function to loop through all vehicles. Check which vehicle the player is closest to and return the physical ID- then proceed with setting the vehicle parameters.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)