Dialog not showing up? - 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 not showing up? (
/showthread.php?tid=304365)
Dialog not showing up? -
-Rebel Son- - 18.12.2011
Tryed everything i could, searched the forum for an hour, Still nothing.
pawn Код:
format(string, sizeof string, "Soldier (Level:%s)\nMedic (Level:%s)\n Samurai (level:%s)", PlayerInfo[playerid][Soldierlv],PlayerInfo[playerid][Mediclv],PlayerInfo[playerid][Samurailv]);
ShowPlayerDialog(playerid, 32767, DIALOG_STYLE_LIST, "Class Selection",statsstring,"Use", "");
Any idea why it wont apear?
Re: Dialog not showing up? -
HyperZ - 18.12.2011
In formating your using string and in the dialog statsstring o.O
Btw, try this:
pawn Код:
format(string, sizeof(string), "Soldier (Level:%s)\nMedic (Level:%s)\n Samurai (level:%s)", PlayerInfo[playerid][Soldierlv],PlayerInfo[playerid][Mediclv],PlayerInfo[playerid][Samurailv]);
ShowPlayerDialog(playerid, 32767, DIALOG_STYLE_LIST, "Class Selection",string,"Use", "");
Re: Dialog not showing up? -
-Rebel Son- - 18.12.2011
Yeah, I tryed creating a new string, thinking that was the issue, But anyways, it works now good sir, thanks you. Reped.