SA-MP Forums Archive
Argument mitmatch - 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 mitmatch (/showthread.php?tid=150861)



Argument mitmatch - Assyria - 28.05.2010

Hey.

Код:
GivePlayerWeapon(Catness[playerid],inputtext,500);
error 035: argument type mismatch (argument 2)

As you might notice Im using it in DIALOG_STYLE_INPUT but its giving me this...what could be wrong?


Assyria



Re: Argument mitmatch - DJDhan - 28.05.2010

well by the looks of it, inputtext is not same as weapon id.that's why argument2 is giving error


Re: Argument mitmatch - Assyria - 28.05.2010

Thank you Seif_.