#1

Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
   new INI:File = INI_Open("Users/%s.ini",(playerid));
   PlayerInfo[playerid][pLevel] = INI_ReadInt("level");
   PlayerInfo[playerid][pKills] = INI_ReadInt("kills");
   PlayerInfo[playerid][pDeaths] = INI_ReadInt("Deaths");

    INI_Close();

  new PName[MAX_PLAYER_NAME],strg [190];
 GetPlayerName(clickedplayerid, PName, sizeof (PName));
  format(strg,sizeof(strg),"{F81414} you are viewing {FFFFFF} %s stats \n {00CED1} Kills : {FFFFFF} %d \n {00CED1} Deaths : {FFFFFF} %d \n {00CED1} Level : {FFFFFF} %d  ",PName,pKills,pDeaths,pLevel);
  ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{00FF04}Player Stats",strg,"Close","Done");


    return 1;
}
Код:
D:\script\gamemodes\DeathMatchADD.pwn(454) : warning 202: number of arguments does not match definition
D:\script\gamemodes\DeathMatchADD.pwn(454) : warning 213: tag mismatch
D:\script\gamemodes\DeathMatchADD.pwn(454) : warning 204: symbol is assigned a value that is never used: "File"
Reply


Messages In This Thread
read - by AzTeCaS - 10.11.2012, 13:01
Re: read - by YoYo123 - 10.11.2012, 13:14
Re: read - by Mr.Anonymous - 10.11.2012, 13:23
Re: read - by Konstantinos - 10.11.2012, 13:26
Re: read - by AzTeCaS - 10.11.2012, 13:36
Re: read - by Konstantinos - 10.11.2012, 13:40

Forum Jump:


Users browsing this thread: 2 Guest(s)