OnPlayerClickPlayer help.
#1

PROBLEM SOLVED !
Reply
#2

Just this, without "if(playerid == clickedplayerid):
pawn Код:
OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    new admin = PlayerInfo[clickedplayerid][pAdmin];
    new kills = PlayerInfo[clickedplayerid][pKills];
    new deaths = PlayerInfo[clickedplayerid][pDeaths];
    new money = GetPlayerMoney(clickedplayerid);
    new level = GetPlayerScore(clickedplayerid);
    new string252[256]; format(string252,sizeof string252,"{9ACD32}S T A T S");
    new string251[256]; format(string251,sizeof string251,"{9ACD32}>> {FFFFFF}Level: {C10B07}%d\n{9ACD32}>> {FFFFFF}Money: {C10B07}%d\n{9ACD32}>> {FFFFFF}Score: {C10B07}%d\n{9ACD32}>> {FFFFFF}Kills: {C10B07}%d\n{9ACD32}>> {FFFFFF}Deaths: {C10B07}%d",admin,money,level,kills,deaths);
    ShowPlayerDialog(playerid,25,DIALOG_STYLE_MSGBOX,string252,string251,"Close", "");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)