Quote:
Originally Posted by [F]aze
Time is in months.
It's just a function to call these with a window i can also say
_BannUser(accid, time);
Why should i do a pointer or float pointer for setting the time for a bann. Simpler as that ? hf 
|
In 4 years of my asm life I have never seen a PUSH that has a dynamic change. It has alwaysbeen static.
now lets say i want to use
_BannUser (29330001,7000)
But then I also want to use
_BannUser (29330002, 40000)
Based on your coding you implied that your account ID and timer must be a PUSH. Since PUSHes are static, I can't use the second _BannUser because the first _BannUser is already declared. UNLESS you want to make another stack function
...but what if I want to ban 100 users ? Should I waste memory making 100 stacking functions?
Or maybe I can just use a mov ecx, [time] then mov eax/edx, [accountId] and call it a ******* day.