Raised This Month: $ Target: $400
 0% 

Problem with fake natives & forwards


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 06-01-2006 , 08:37  
Reply With Quote #4

Ah I see, so you mean this is broken or not working correctly?
public fnVoteBegin(iPlugin,iParams)

I looked at register_plugin and that is returning the ID fine. What you could do is the 1st parameter for the fnVoteBegin could be the pluginID that each plugin sends.

Code:
public fnVoteBegin(iPlugin,iParams) {     if(g_bInUse)         return -1      new plug = get_param(1)
Then in the plugin calling this:
Code:
public fnBegin(id) {     new szArg[2][33]     read_argv(1,szArg[0],32)     read_argv(2,szArg[1],32)         client_print(0,print_chat,"Vote begin ret: [%i]",vote_begin(g_iPlugin, szArg[0],floatstr(szArg[1]),"fnVoteEnd")) }
Orangutanz is offline
 



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