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"))
}