Qbox-project / qbx_core

http://qbox-project.github.io
Other
46 stars 109 forks source link

Fix drawText2d/drawText3d not working without color attribute. #421

Closed jxnnyo closed 3 months ago

jxnnyo commented 3 months ago

Description

Game-breaking issue breaking the lib.drawText2d and lib.drawText3d functionality. Prevents the use of evidence lockers, prisonbreak, teleports, vehiclepush and hotwiring.

This issue originated as you attempted to access r, g, b, a on a vector4 which only has x, y, z, w attributes.

Checklist

jxnnyo commented 3 months ago

closing request as me and d4 came up with an alternative solution