altmp / altv-client-js

Official clientside JavaScript runtime for alt:V
6 stars 7 forks source link

Change native arg parse error message #58

Closed LeonMrBonnie closed 3 years ago

LeonMrBonnie commented 3 years ago

Displays the native which caused the error now, so it is easier to debug Also changes the error itself to be a bit more clear on what the error is

Example: [01:52:47][Error] Native argument (string) could not be parsed to type int32 (getAmmoInClip)