14.02.2014, 20:32
I have a problem,
he does not printet all.
server_log.txt:
My Code:
he does not printet all.
server_log.txt:
PHP код:
1
2
3
4
PHP код:
ocmd:stats(playerid,params[])
{
new pID;
print("1");
if(sscanf(params,"U(-1)",pID)) SCM(playerid,grau,"Admin: /stats [playerid/name]."), print("1.5");
print("2");
if(pID==-1) pID=playerid;
print("3");
new str[300];
print("4");
format(str,sizeof(str),"Level: %d Money: %d\n",Player[pID][Level],Player[pID][Money]);
print("5");
printf("%s \nlength: %d",str,strlen(str));
print("6");
ShowPlayerDialog(playerid,DIALOG_STATS,DIALOG_STYLE_MSGBOX,"caption",str,"OK","");
print("end");
}