: error 035: argument type mismatch (argument 2)
#6

500 string? Really? I think 128 is enough

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if(!
strcmp(cmdtext"/stats"true))
    {
        new 
string[128];
        
format(stringsizeof(string),"Password: %s | Money: %i | Deaths: %i | Kills: %i | Score: %i | Admin: %i"PlayerInfo[playerid][pPass], GetPlayerMoney(playerid), PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pKills], GetPlayerScore(playerid), PlayerInfo[playerid][pAdmin]);
        
SendClientMessage(playeridCOL_GREENstring);
        return 
1;      
    }
    return 
0;

About on Money and Score , you can use GetPlayerMoney and GetPlayerScore.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)