#1

It tells me this when i compile
pawn Код:
warning 202: number of arguments does not match definition
and here is the line the warning goes to
pawn Код:
ShowPlayerDialog(playerid, DIALOG_REGISTER2, DIALOG_STYLE_LIST, "Male\rFemale", "Choose", "Cancel");
also it gives me an error
pawn Код:
error 001: expected token: ",", but found ";"
on this line
pawn Код:
format(pw, sizeof(pw), "%s", dini_Get(path, "password");
Reply
#2

Missed a closing bracket, there.
Reply
#3

You forgot titles section for dialog and at format add format(pw, sizeof(pw), "%s", dini_Get(path, "password"));
Reply
#4

where do i put the titles section in the dialog part?
Reply
#5

Write ShowPlayerDialog( and wait abit, it will show you help line which will tell caption[]

Reply
#6

https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Reply
#7

You write:
"Male\rFemale"

And you forgot the title of the dialog (What will be the top).

It's:

pawn Код:
ShowPlayerDialog(playerid, DIALOG_REGISTER2, DIALOG_STYLE_LIST, "TITLE", "Male\nFemale", "Choose", "Cancel");
And this line it's not:

format(pw, sizeof(pw), "%s", dini_Get(path, "password");

It's:

pawn Код:
format(pw, sizeof(pw), "%s", dini_Get(path, "password"));
Reply
#8

ehghh
Reply
#9

still gives me the warning..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)