MDC - 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: MDC (
/showthread.php?tid=328304)
MDC -
BigD - 24.03.2012
How would I put like playerInfo[iTarget][pAge] into a dialog so it said Age: [Age Here]
Re: MDC -
doreto - 24.03.2012
PHP код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Age","You age is %d",playerInfo[iTarget][pAge]);
Re: MDC -
SpiritEvil - 24.03.2012
pawn Код:
CMD:dialog(playerid, params[])
{
new str[128];
format(str, sizeof(str), "Age: %i", playerInfo[playerid][pAge]);
ShowPlayerDialog(playerid, 1337, DIALOG_STYLE_MSGBOX, "Your Age", str, "Close", "");
return 1;
}
Re: MDC -
BigD - 24.03.2012
And to have like Age then a line break then Number ect how would we do that?
Also that didn't work.
Re: MDC -
BigD - 24.03.2012
Spirit, Your one worked but lets say I wan't to add more, How would I do that?