"Car" Position
#1

How get position of this car back! Like he must be near this doors or behind car

http://imgur.com/bbiPhrk
Reply
#2

1: use /dl to the cars position
2: note the position
3: leave the car
4: go behind the car
5: type /save
6: check your coordinate file
7: check the distance
8: calculate the position of the cars back
9: use IsPlayerInRangeOf(...)

That's how i'd do it, might not be the best approach though
Reply
#3

You can get tires, hood and trunk positions for most vehicles with this include: https://sampforum.blast.hk/showthread.php?tid=620512

I made a trick to get doors position (2nd page of the linked topic), but it wasn't implemented and I didn't tested with all vehicles
Reply
#4

I dont understand anything but i will try
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)