Hello !
I would like to know how does pop works.
For single arg function it's not a problem.
But for multi args how does it works?
In this exemple it seem that the first pop get the last params and the next get the other.
Does it really work this way or it's more complicated than this?
I would like to know how does pop works.
For single arg function it's not a problem.
But for multi args how does it works?
Code:
int32_t LuaInterface::luaDoPlayerSetRate(lua_State* L)
{
//doPlayerSetRate(cid, type, value)
double value = popFloatNumber(L);
uint32_t type = popNumber(L);
In this exemple it seem that the first pop get the last params and the next get the other.
Does it really work this way or it's more complicated than this?