Quote:
|
Originally Posted by Orangutanz
You don't need to capture the ID of register_plugin at all mate.
How I did my tests was I altered my create_bot to include the prototypes, and even the calling plugin doesn't capture the id of register_plugin, its done automactically through the native system.
That iPlugin, iNumParams prototypes are powerful enough to work out what plugin is calling it and with how many parameters 
|
Then why isn't it working?
I just thought of one thing though. Instead of calling a function after flTime, maybe I could add a fake native like "vote_end" and let the plugin handle the time between?
That
would avoid the API issue entirely, and it also allows you to stop the vote at any time (ex. amx_cancelvote in the core)
__________________