Thread: ...
View Single Post
hitD
Junior Member
Join Date: May 2017
Location: Lithuania
Old 09-16-2021 , 08:39   Re: ArrayGetString2
Reply With Quote #4

Stick to the old thread, second it should work, instead of using 1 style native switch to 0. Also you should read carefully API method as it clarify you.
If you can't do that here is the answer why it doesn't work. As in your image, it shows that you tried to use get_string with style 1.
"If used outside of a native callback, or the native was
created with style 1, an error will be thrown."

Also your get_string parameters are wrong.

Last edited by hitD; 09-16-2021 at 08:42. Reason: Edit
hitD is offline