Dialog problems...
#1

CMD:docprison(playerid, params[])
{
new string[128];
if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
ShowPlayerDialog(playerid, PANELCONTROLS, DIALOG_STYLE_LIST, "Security Panel", string, "Operate", "Cancel");
return 1;
}

Whats wrong here , I do that on server and nothing , ANd I'm from the fac number 3 ...

In the start instead string it was szPanel and that undefinded symbol than I've changed it...

And The dialog is good...
Reply
#2

You didn't do somthing in string so dialog didn't read the string you need to add something in string like


pawn Код:
format(string,sizeof(string),"Here your stuff");
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Hi",string,"Ok","Close");
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)