Fallout 4 compass/map
#1

Hi! Could you guys help me out with some ideas how I could make Fallout's compass/map working in samp? I mean script-wise.
For those of you who don't know how it works: Basically if you want to head towards a location, you have to face in the direction of the said location's map icon.

Reply
#2

you would constantly need to redraw textdraws according to the player's facing angle ... for it to work smooth like in fallout it would have to be a pretty fast timer which is not really worth it
Reply
#3

Quote:
Originally Posted by wallee
Посмотреть сообщение
you would constantly need to redraw textdraws according to the player's facing angle ... for it to work smooth like in fallout it would have to be a pretty fast timer which is not really worth it
Use YSF for TextDrawSetPos and OnPlayerUpdate.

I really don't understand why people still prefer timers over OPU. If you have to use a timer that is less than one second (and probably miles off), you should use OnPlayerUpdate.
Reply
#4

Okay use textdrawsetpos, but how can i calculate textdraw coords from an in game coord + facing?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)