[HELP]Display Player Stats in a DIALOG_STYLE_MSGBOX
#1

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.
Reply
#2

with strings
Reply
#3

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)