Catching index of an event.
Hello there, im trying to catch the index of the player who used it of this event.
PHP Code:
Even tryed a loop to give it +1 for everyone, even that didnt work. LOL |
Re: Catching index of an event.
Show the callback function you are using.
|
Re: Catching index of an event.
This is what I used.
PHP Code:
|
Re: Catching index of an event.
Add a debug.
Code:
|
Re: Catching index of an event.
Nothing wrong.
|
Re: Catching index of an event.
Quote:
|
Re: Catching index of an event.
When I do this in an apart plugin it works, but if I add it in my other plugin it doesnt work, im using the same code btw.
|
Re: Catching index of an event.
Then maybe there is a missing function that stops the execution of plugin_init and the code below that line. Check for runtime errors.
|
Re: Catching index of an event.
Quote:
|
Re: Catching index of an event.
Well, I dont know what the problem was but I rewrote my plugin and its just fixed. Maybe because i've been using old include files? can that be the issue? because I upgraded my AMXX right now and it worked.
|
| All times are GMT -4. The time now is 15:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.