new STS_MSG[2048];
format(STS_MSG, sizeof STS_MSG,"{F7D358}(Name) {FFFFFF}%s;\n{F7D358}(Account) {FFFFFF}Language: {F7D358}English {FFFFFF}\n{F7D358}(Money) {FFFFFF}Cash in Pocket: {F7D358}%d {FFFFFF}| {FFFFFF}Bank: {F7D358}%d\n{F7D358}(Kills/Deaths) {FFFFFF}Kills: {F7D358}%d {FFFFFF}| Deaths: {F7D358}%d {FFFFFF}| Ratio:{F7D358} %0.2f {FFFFFF}\n{F7D358}(Experience) {FFFFFF}Level: {F7D358}%d {FFFFFF}| Upgrade Points: {F7D358}%d\n{F7D358}(Inventory) {FFFFFF}A_KEY: {F7D358}%d {FFFFFF}| B_KEY: {F7D358}%d\n",oyuncuismi,GetPlayerMoney(playerid),PlayerInfo[playerid][pBank],PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths],Float:PlayerInfo[playerid][pKills]/Float:PlayerInfo[playerid][pDeaths],GetPlayerScore(playerid),Float:PlayerInfo[playerid][pUP],Float:PlayerInfo[playerid][pAKEY],Float:PlayerInfo[playerid][pBKEY]);
ShowPlayerDialog(playerid, STATS_MSG, DIALOG_STYLE_MSGBOX,"Stats",STS_MSG,"OK","");
new str[128];
strcat(str, "Item1 %s\n",oyuncuismi);
strcat(str, "Item2 %i\n",GetPlayerMoney(playerid));
ShowPlayerDialog(playerid, 29, DIALOG_STYLE_LIST, "Stats", str, "Ok", "");
D:\Documents\0.3e Server\gamemodes\gamemode.pwn(3988) : error 035: argument type mismatch (argument 3)
D:\Documents\0.3e Server\gamemodes\gamemode.pwn(3990) : warning 202: number of arguments does not match definition
D:\Documents\0.3e Server\gamemodes\gamemode.pwn(3991) : warning 202: number of arguments does not match definition
D:\Documents\0.3e Server\gamemodes\gamemode.pwn(3991) : warning 202: number of arguments does not match definition
D:\Documents\0.3e Server\gamemodes\gamemode.pwn(3992) : warning 202: number of arguments does not match definitio
D:\Documents\0.3e Server\gamemodes\gamemode.pwn(3993) : warning 213: tag mismatch
D:\Documents\0.3e Server\gamemodes\gamemode.pwn(3993) : warning 202: number of arguments does not match definition
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
new str[128];
strcat(str, "{F7D358}(Name) {FFFFFF}%s\n",name);
strcat(str, "{F7D358}(Account) {FFFFFF}Language: {F7D358}English {FFFFFF}\n");
strcat(str, "{F7D358}(Money) {FFFFFF}Cash in Pocket: {F7D358}%d {FFFFFF}| {FFFFFF}Bank: {F7D358}%d\n",GetPlayerMoney(playerid),PlayerInfo[playerid][pBank]);
strcat(str, "{F7D358}(Kills/Deaths) {FFFFFF}Kills: {F7D358}%d {FFFFFF}| Deaths: {F7D358}%d {FFFFFF}| Ratio:{F7D358} %0.2f {FFFFFF}\n",PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths],Float:PlayerInfo[playerid][pKills]/Float:PlayerInfo[playerid][pDeaths]);
strcat(str, "{F7D358}(Experience) {FFFFFF}Level: {F7D358}%d {FFFFFF}| Upgrade Points: {F7D358}%d\n",GetPlayerScore(playerid),Float:PlayerInfo[playerid][pUP]);
strcat(str, "{F7D358}(Inventory) {FFFFFF}A_KEY: {F7D358}%d {FFFFFF}| B_KEY: {F7D358}%d\n",Float:PlayerInfo[playerid][AKEY],Float:PlayerInfo[playerid][BKEY]);
ShowPlayerDialog(playerid, STATS_MSG, DIALOG_STYLE_MSGBOX,"Stats",str,"OK","");
Float:PlayerInfo[playerid][pKills]/Float:PlayerInfo[playerid][pDeaths]
PlayerInfo[playerid][pKills]/PlayerInfo[playerid][pDeaths]
PlayerInfo[playerid][pUP]
PlayerInfo[playerid][AKEY],PlayerInfo[playerid][BKEY]
strcat(str, "{F7D358}(Name) {FFFFFF}%s\n",name);
format(YourString, sizeof YourString, "{F7D358}(Name) {FFFFFF}%s\n",name);
strcat(str, YourString);
pawn Код:
pawn Код:
pawn Код:
pawn Код:
|
pawn Код:
Ex: pawn Код:
|