error 035: argument type mismatch (argument 2)
#1

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:
Код:
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;
}
Reply
#2

What are the lines 5648 and 5644?
Reply
#3

Shouldn't these lines be under OnFilterScriptInit() or OnGameModeInit() ?
Reply
#4

http://pastebin.com/D6XqAwm3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)