Help involving ShowPlayerDialog
#1

How do I do a dialog with 1 ( one ) option like:
pawn Код:
ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX," Teleported ","Welcome to {FFFFF}Los Santos.","Close");
Without getting a:
Код:
C:\Program Files\Rockstar Games\Roleplay server 0.223\gamemodes\UltimateFreeroambeta.pwn(3151) : warning 202: number of arguments does not match definition
?

Thanks.
Reply
#2

Change {FFFFF} to {FFFFFF}
And after "Close" add ,""

So it looks like this:
pawn Код:
ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX," Teleported ","Welcome to {FFFFFF}Los Santos.","Close", "");
Reply
#3

Oh... So if I don't want a second button I'll put
pawn Код:
.......,"Close","");
. Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)