15.07.2012, 08:55
I keep getting 2 problems:
C:\Users\Wim\Desktop\sa\gamemodes\SATDM_v11.pwn( 5644 ) : error 035: argument type mismatch (argument 2)
C:\Users\Wim\Desktop\sa\gamemodes\SATDM_v11.pwn( 5648 ) : error 035: argument type mismatch (argument 2)
Heres the code:
C:\Users\Wim\Desktop\sa\gamemodes\SATDM_v11.pwn( 5644 ) : error 035: argument type mismatch (argument 2)
C:\Users\Wim\Desktop\sa\gamemodes\SATDM_v11.pwn( 5648 ) : error 035: argument type mismatch (argument 2)
Heres the code:
Код:
forward IRC_ConnectDelay(tempircid);
public IRC_ConnectDelay(tempircid)
{
switch (tempircid)
{
case 1:
{
gBotID[0] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_REALNAME, BOT_1_USERNAME);
}
case 2:
{
gBotID[1] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_2_NICKNAME, BOT_2_REALNAME, BOT_2_USERNAME);
}
}
return 1;
}

