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

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.
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)