SA-MP Forums Archive
argument type 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: argument type 2 (/showthread.php?tid=79724)



argument type 2 - XxerykxX - 30.05.2009

hi im getting that :
Код:
error 035: argument type mismatch (argument 2)
anyone help?


Re: argument type 2 - Cezar - 30.05.2009

You have too paste the line that gives the code


Re: argument type 2 - XxerykxX - 30.05.2009

Код:
C:\Documents and Settings\Mariusz\Pulpit\SA-MP Server\gamemodes\SSClanS.pwn(8990) : error 035: argument type mismatch (argument 2)



Re: argument type 2 - XxerykxX - 30.05.2009

anyone help PLS FAST ((((


Re: argument type 2 - Correlli - 30.05.2009

He meant the line in script.

Quote:

Error 035: argument type mismatch (argument index)
The argument that you pass is different from the argument that the
function expects, and the compiler cannot convert the passed-in
argument to the required type. For example, you cannot pass the
literal value “1” as an argument when the function expects an
array or a reference.