error 035: argument type mismatch (argument 2) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 035: argument type mismatch (argument 2) (
/showthread.php?tid=359763)
error 035: argument type mismatch (argument 2) -
Larsbehet - 15.07.2012
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;
}
Re: error 035: argument type mismatch (argument 2) -
Captain_Mani - 15.07.2012
What are the lines 5648 and 5644?
Re: error 035: argument type mismatch (argument 2) -
clarencecuzz - 15.07.2012
Shouldn't these lines be under OnFilterScriptInit() or OnGameModeInit() ?
Re: error 035: argument type mismatch (argument 2) -
Larsbehet - 15.07.2012
http://pastebin.com/D6XqAwm3