Dunno what to do HELP
#1

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:
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;

Screen:
Reply


Messages In This Thread
Dunno what to do HELP - by weedxd - 16.05.2014, 15:20
Re : Dunno what to do HELP - by Ramoboss - 16.05.2014, 15:23
Re: Dunno what to do HELP - by Konstantinos - 16.05.2014, 15:24
Re: Dunno what to do HELP - by weedxd - 16.05.2014, 15:36

Forum Jump:


Users browsing this thread: 3 Guest(s)