22.01.2016, 02:52
Bug /stats id?
Quote:
CMD: stats(playerid, params[]) { new string[10000]; new IP[16]; GetPlayerIp(playerid, IP, 16); format(string, sizeof(string),"{80FF00}|=======( {FFFFFF}Player: {00FF80}%s [Id:%d]{80FF00} )========|",GetName(playerid),playerid); /************************************************** ************************************************** *****************************/ format(string, sizeof(string),"NickName %s [Id:%d]",GetName(playerid),playerid); format(string, sizeof(string),"Your IP [%s]",IP); format(string, sizeof(string),"Admin [%i]",PlayerInfo[playerid][pAdmin]); format(string, sizeof(string),"Level [%i]",PlayerInfo[playerid][pLevel]); format(string, sizeof(string),"Vip [%i]", PlayerInfo[playerid][pVip]); format(string, sizeof(string),"Money [$%i]",GetPlayerMoney(playerid)); format(string, sizeof(string),"Score [%i]", GetPlayerScore(playerid)); format(string, sizeof(string),"Skin [%i]", GetPlayerSkin(playerid)); format(string, sizeof(string),"Kills [%i]", PlayerInfo[playerid][pKills]); format(string, sizeof(string),"Deaths [%i]",PlayerInfo[playerid][pDeaths]); /************************************************** ************************************************** *****************************/ format(string, sizeof(string),"{80FF00}|=====================|"); ShowPlayerDialog(playerid,DIALOG_STATS,DIALOG_STYL E_MSGBOX, "Stats", string, "Ok", ""); return 1; } |