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=617020)
error 035: argument type mismatch (argument 2) -
sniperx3 - 14.09.2016
Hello, I want to make a servis script that when u type /servis, you get menu and than you can
fix your car, paint and stuff like that, but i just started and it doesn't work..
Edited and compiled in Pawno.
Please help me, Thanks
Pawn script:
http://pastebin.com/gMD8DpGa
Compiling output(I removed one part of directory):
....server\filterscripts\servis.pwn(34) :
error 035: argument type mismatch (argument 2)
....server\filterscripts\servis.pwn(35) :
error 035: argument type mismatch (argument 2)
....server\filterscripts\servis.pwn(36) :
error 035: argument type mismatch (argument 2)
....server\filterscripts\servis.pwn(37) :
error 035: argument type mismatch (argument 2)
....server\filterscripts\servis.pwn(38 ) :
error 035: argument type mismatch (argument 2)
....server\filterscripts\servis.pwn(39) :
error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.
Re: error 035: argument type mismatch (argument 2) -
sniperx3 - 14.09.2016
Nvm fixed it, textdraws onplayerconnect and "new" on top

EDIT: Also, there was no textdraws because they were causing problems too, so i made them global