[DEV RELEASE] [bl-coords] Simply copies coords and heading to clipboard

Simple FiveM script to copy coords to clipboard :slight_smile:

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

4 Likes

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 :slight_smile:

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?

1 Like

Thank you for this resource, will test it :heart:

PlayerPedId() is faster. Can read it here
image

1 Like

Perfect, thank you so much for your advice!

Accepted! Thank you :slight_smile: Only thing i noticed is that you used GetEmtityHeading at one point, but other than that, ty <3

1 Like