About arrow moving.
#1

Hello,
today i ented to Cops Vs Robbers server and i saw there mission and when i entered to the vehicle of the mission i saw an arrow above the vehicle and the arrow moved to the side of the checkpoint in the map (always changed the rotation of the arrow).
it shows me how to get to the checkpoint using the arrow above the vehciel that changed the rotation of him.
How can i do it?
arrow like that - https://www.youtube.com/watch?v=AOxeFu38_5g
Thanks for help.
Reply
#2

Any codes so that we can see..
Reply
#3

Quote:
Originally Posted by fuckingcruse
Посмотреть сообщение
Any codes so that we can see..
I`m asking about how to do it...
Reply
#4

Create the object, position it above the player and attach. You can then use SetObjectRot to move it towards that angle. The angle, you have to calculate with math (which I am horrible at, but I guess it has something to do with GetXYInFrontOfPlayer or something).

Hope this helps at least a little
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)