ok i got problem with a Dialog
#1

so this is my dialog
pawn Код:
ShowPlayerDialog(playerid, 654, DIALOG_STYLE_LIST, ""GREEN"Choose Class",string, "Select");
So basically i want when the Dialog with the List comes up only a button Select is there which works but i get this when compile
Код:
number of arguments does not match definition
becosue i removed the [," "] after select button.
Reply
#2

pawn Код:
ShowPlayerDialog(playerid,654,DIALOG_STYLE_LIST,"~g~Choose Class",string,"Select", Cancel);
There can't be only one button
read this https://sampwiki.blast.hk/wiki/ShowPlayerDialog .
Reply
#3

Quote:
Originally Posted by Antonio144
Посмотреть сообщение
pawn Код:
ShowPlayerDialog(playerid,654,DIALOG_STYLE_LIST,"~g~Choose Class",string,"Select", Cancel);
There can't be only one button
read this https://sampwiki.blast.hk/wiki/ShowPlayerDialog .
yes you can have only one button work fine no bugs nothing
Just Fixed It i added the String with no text & space and it works perfect no Warning/Error
pawn Код:
ShowPlayerDialog(playerid,654,DIALOG_STYLE_LIST,"~g~Choose Class",string,"Select","");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)