v10networkscom / saltychat-fivem

FiveM implementation of Salty Chat (TeamSpeak 3 based Voice Plugin)
https://gaming.v10networks.com
GNU General Public License v3.0
70 stars 64 forks source link

fix passing floating point coordinate arrays #63

Closed Fireant456 closed 3 years ago

Fireant456 commented 3 years ago

GTA coordinates are usually floating points and previous code would not accept floating-point values.

BlackFlash5 commented 3 years ago

This should only be an issue if you call the server export from lua. You don't need to cast it on the client side, because msgpack does de-/serialize float correctly.

Fireant456 commented 3 years ago

reverted the client-side :)