16.05.2014, 15:20
Oks so i did make the code and then compiled it didnt recive any errors but i get just a small log with nothin in it when i go ingame ;/
Code:
Screen:
Code:
PHP код:
dcmd_stats(playerid,params[])
{
#pragma unused params
new statz[1024];
strcat(statz, "Score: %d\n",GetPlayerScore(playerid));
strcat(statz, "Bank: %d\n",GetPlayerBankcash(playerid));
strcat(statz, "Money: $%d\n",GetPlayerCash(playerid));
strcat(statz, "Kills: %d\n",KILLZ(playerid));
strcat(statz, "Admin: %d\n",Adminlevel(playerid));
strcat(statz, "Army: %d\n",Army(playerid));
strcat(statz, "SWAT: %d\n",SWAT(playerid));
strcat(statz, "Regular: %d\n",RegularPlayer(playerid));
strcat(statz, "TerrorLVL: %d\n",TSkill(playerid));
strcat(statz, "RobbberLVL: %d\n",GetPlayerRobSkill(playerid));
strcat(statz, "C4: %d\n",GetPlayerHasPackC4(playerid));
strcat(statz, "Rope: %d\n",GetPlayerHasPackRope(playerid));
ShowPlayerDialog(playerid,644,DIALOG_STYLE_MSGBOX,"Stats",statz,"Close","");
return true;
}