Dialog problems... - 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)
+--- Thread: Dialog problems... (
/showthread.php?tid=436767)
Dialog problems... -
yaron0600 - 12.05.2013
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...
Re: Dialog problems... -
IceBilizard - 12.05.2013
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");