Simple FiveM script to copy coords to clipboard
Use /coords to copy to clipboard.
Renaming will probably cause a few issues with NUI callbacks.
Uses Vector4 containing x,y,z,w.
W BEING THE HEADING.
edit: Thanks Xios_Bombay <3
Simple FiveM script to copy coords to clipboard
Use /coords to copy to clipboard.
Renaming will probably cause a few issues with NUI callbacks.
Uses Vector4 containing x,y,z,w.
W BEING THE HEADING.
edit: Thanks Xios_Bombay <3
Use PlayerPedId()
instead of getplayerped…
Whilst im aware PlayerPedId() is faster, i dont see the necessity when it isnt running in a thread and only runs once, but i have changed it
I made a PR. I read the other PR and tried using PlayerPedId(-1) which is sus
What’s the difference? Becouse I use getplayerped in a lot of
Scripts, PlayerPedId is more optimised?
Thank you for this resource, will test it
PlayerPedId()
is faster. Can read it here
Perfect, thank you so much for your advice!
Accepted! Thank you Only thing i noticed is that you used GetEmtityHeading at one point, but other than that, ty <3