06.01.2016, 10:09
Try this:
If the problem is still not solved with the command I gave you, then it's probably a too big string which shows the stats.
Код:
CMD:stats(playerid, params[]) { new giveid; if(!sscanf(params, "u", giveid)) { if(IsPlayerConnected(giveid)) { ShowPlayerDialog(playerid, 4, DIALOG_STYLE_MSGBOX, "{D1D1D1}Player Stats", ShowStats(giveid), "Ok", ""); } else { SendClientMessage(playerid, red, "ERROR: Player not connected!"); } } else { ShowPlayerDialog(playerid, 3, DIALOG_STYLE_MSGBOX, "{D1D1D1}Player Stats", ShowStats(playerid), "Ok", ""); } return 1; }