Closed TheProjectPioneer closed 4 years ago
You miss the &
in the native declaration;
native test_native(&variable)
You miss the
&
in the native declaration;
native test_native(&variable)
Yeah, this was the problem. Enormous thanks and sry for being foolish
Hey,
Tried using the set_param_byref command to change a by-reference variable's value in a native, but it ain't working. You can imagine it like in the most basic way.
With this code I get 0
note: I wrote it by hand and now in my browser, so can be possible mistakes. While testing I wrote it much more carefully
Edit: I'm using the newest(dev) amxmodx.