Score Problem..
#1

Hey, I'm having an issue with my score, I made it so when a player dies there score gets added +1, but it doesnt show under TAB. but it saves to the player file, any help? OnPlayerDeath
PHP код:
    SendClientMessage(playerid,COLOR_RED,"You've been killed and lost 500$.");
    
GivePlayerMoney(playerid,-500);
    
PlayerInfo[killerid][pKills]++;
    
PlayerInfo[playerid][pDeaths]++;
    
PlayerInfo[killerid][pKillPoints]++;
    
PlayerInfo[playerid][pKillPoints]--;
       
PlayerInfo[killerid][pScore]++;
    
PlayerInfo[playerid][pScore]--;
    if(
killerid != INVALID_PLAYER_ID)
    
GivePlayerMoney(killerid500);
    
SendClientMessage(killerid,COLOR_GREEN,"You've killed an enemy and earned 500$.");
    
SendDeathMessage(killeridplayeridreason);
    if(
gTeam[killerid] == gTeam[playerid]) {
    new 
string[128];
    
format(string,sizeof(string),"%s has just killed their teammate, Please warn/kick them.");
    } 
Reply


Messages In This Thread
Score Problem.. - by Azzeto - 13.10.2011, 20:43
Re: Score Problem.. - by Stigg - 13.10.2011, 20:46
Re: Score Problem.. - by Azzeto - 13.10.2011, 20:50
Re: Score Problem.. - by Wesley221 - 13.10.2011, 21:01
Re: Score Problem.. - by Azzeto - 13.10.2011, 21:05

Forum Jump:


Users browsing this thread: 1 Guest(s)