ok i got problem with a Dialog - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ok i got problem with a Dialog (
/showthread.php?tid=251806)
ok i got problem with a Dialog -
park4bmx - 28.04.2011
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.
Re: ok i got problem with a Dialog -
Antonio144 - 28.04.2011
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 .
Re: ok i got problem with a Dialog -
park4bmx - 28.04.2011
Quote:
Originally Posted by Antonio144
|
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","");