I have a function and I send it a variable, a global one, and I was wondering how I get what variable name I sent to the function in order to clear it inside the function ?
Code:
new g_iTest[3]
//...
g_iTest[0] = 982 // just a number
//...
clearVar(g_iTest[0])
//...
stock function clearVar(var)
{
/* ??? = 0 ?? */
}
I don't know the actual variable name I will send, I have many arrays that I use to send through that, that's why I search for an automatic way to get it...
__________________