The name is a string so the variable should be labled as a string (sz) not an integer (i). Also, retrieving strings from natives you will always put the string variable and the max string length as arguments.
If I ever have a question like this I always go to the
funcwiki first. For the majority of functions it shows what the arguments should be and in some cases shows an example usage of the function.
__________________