[HELP]Display Player Stats in a DIALOG_STYLE_MSGBOX - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Display Player Stats in a DIALOG_STYLE_MSGBOX (
/showthread.php?tid=112112)
[HELP]Display Player Stats in a DIALOG_STYLE_MSGBOX -
[NYRP]Mike. - 05.12.2009
Hey guys, i was wondering if it would be possible to show the player stats in a msgbox dialog, i suppose that this could be done somehow just with some coding i presume, my public ShowStats(playerid, targetid) is pretty long so how could i do that? Thanks...
-©un3o.
Re: [HELP]Display Player Stats in a DIALOG_STYLE_MSGBOX -
Onyx09 - 24.04.2010
with strings
Re: [HELP]Display Player Stats in a DIALOG_STYLE_MSGBOX -
aircombat - 24.04.2010
here is an example of a msgbox which show the player wanted level :
Код:
if(strcmp(cmd, "/stats", true) == 0) {
new string[128];
format(string,sizeof(string),"Wanted Level:%d",GetPlayerWantedLevel(playerid));
ShowPlayerDialog(playerid,123321,DIALOG_STYLE_MSGBOX,"Stats",string,"Ok","Cancel");
return 1;
}