problem with argument copy
problem is when i do persontoban() and ban person, it gives me value of reason = 8 , not what there was in reason =0 where does this number comes from? O_o how do i fix it?
here's the code Code:
#include <amxmodx> |
Re: problem with argument copy
Indentation please or I won't even care to read it.
|
Re: problem with argument copy
Quote:
|
Re: problem with argument copy
Why are you using a task for this? Just call persontoban() normally. Also, I don't get what was the original problem. How can you want persontoban to return anything if you're scheduling it for later?
|
Re: problem with argument copy
but it worked with all other arguments, like target, id and bantime =0
|
Re: problem with argument copy
Quote:
|
Re: problem with argument copy
i type amx_banshot name time reason, it bans a person, makes two screens, prints info on their screen ane do amx_banip name time reason
only problem is amx_banip name time reason, where reason is allways set to "8" and i have no idea why 8 everything works xept reason =3 |
Re: problem with argument copy
PHP Code:
PHP Code:
|
Re: problem with argument copy
oh, i fixed that, but i'm still getting
Reason: 8 |
Re: problem with argument copy
PHP Code:
|
| All times are GMT -4. The time now is 09:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.