01.11.2012, 13:24
Код:
510.public OnPlayerClickPlayer(playerid, clickedplayerid, source)
511.{
512.PlayerInfo[playerid][pLevel] = INI_ReadInt("level");
513.PlayerInfo[playerid][pKills] = INI_ReadInt("kills");
514.PlayerInfo[playerid][pDeaths] = INI_ReadInt("Deaths");
515. INI_Close();
519. new PName[MAX_PLAYER_NAME],strg [128];
520. GetPlayerName(clickedplayerid, PName, sizeof (PName));
521. format(strg,sizeof ( strg ),"{F81414} you are viewing {FFFFFF} %s stats ", PName);
522. "{00CED1} Kills : {FFFFFF} %d", pKills);
523. "{00CED1} Deaths : {FFFFFF} %d", pDeaths);
524. "{00CED1} Level : {FFFFFF} %d", pLevel);
525. ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{00FF04}Player Stats",strg,"Close","Done");
527. return 1;
528.}
Код:
D:\script\gamemodes\DeathMatchADD.pwn(522) : warning 215: expression has no effect D:\script\gamemodes\DeathMatchADD.pwn(522) : warning 215: expression has no effect D:\script\gamemodes\DeathMatchADD.pwn(522) : error 001: expected token: ";", but found ")" D:\script\gamemodes\DeathMatchADD.pwn(522) : error 029: invalid expression, assumed zero D:\script\gamemodes\DeathMatchADD.pwn(522) : warning 215: expression has no effect D:\script\gamemodes\DeathMatchADD.pwn(523) : warning 215: expression has no effect D:\script\gamemodes\DeathMatchADD.pwn(523) : warning 215: expression has no effect D:\script\gamemodes\DeathMatchADD.pwn(523) : error 001: expected token: ";", but found ")" D:\script\gamemodes\DeathMatchADD.pwn(523) : error 029: invalid expression, assumed zero D:\script\gamemodes\DeathMatchADD.pwn(523) : warning 215: expression has no effect D:\script\gamemodes\DeathMatchADD.pwn(524) : warning 215: expression has no effect D:\script\gamemodes\DeathMatchADD.pwn(524) : warning 215: expression has no effect D:\script\gamemodes\DeathMatchADD.pwn(524) : error 001: expected token: ";", but found ")" D:\script\gamemodes\DeathMatchADD.pwn(524) : error 029: invalid expression, assumed zero D:\script\gamemodes\DeathMatchADD.pwn(524) : warning 215: expression has no effect

