warning 202: number of arguments does not match definition
#1

i got problem, please help me


Код:
C:\Users\Louis Alcosaba\Desktop\KARAGON SAMP\filterscripts\church_systemV1.2.pwn(165) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
line 165

Код:
 ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX, "Church", "Close", "");
Reply
#2

Example:

pawn Код:
ShowPlayerDialog(playerid, DIALOG_WELCOME, DIALOG_STYLE_MSGBOX, "Notice", "You connected to the server", "Close", "");
Reply
#3

first error said unknown dialog_welcome ... but i delete it, and compile again, but another error shown...

Код:
C:\Users\Louis Alcosaba\Desktop\KARAGON SAMP\filterscripts\church_systemV1.2.pwn(165) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
how to fix that bro?
Reply
#4

change

pawn Код:
dialog_welcome
to 123
Reply
#5

It isn't matching because you're forgetting something else

pawn Код:
ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX, "Church", "Close", "");
to
pawn Код:
ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX, "Church", "Description", "Close", "");
Reply
#6

FIXED! THANKS BRO +REP
Reply
#7

+REP too you cody.. but i given all my reps yesterday, gonna wait about 5hours,. ill rep you both!
Reply
#8

dont worry about it, I don't need it.
Reply
#9

doesn't matter i don't want reputation i just want to help people always


EDIT:

If you want to get more help about scripting then use http://wiki.sa-mp.com its good visit it
Reply
#10

Thank you bro you all help me alot!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)