Raised This Month: $ Target: $400
 0% 

Problem with fake natives & forwards


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 06-01-2006 , 09:03  
Reply With Quote #9

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)
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode