No cash or score given :(
#1

When you get a kill it doesn't give you cash or score.. Help?

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID)
    {
            new string[128], string1[128];
          PlayerInfo[playerid][pScore] +=(killerid, GetPlayerScore(killerid)+1);
          PlayerInfo[killerid][pCash] +=(GetPlayerMoney(killerid)+1000);
          PlayerInfo[killerid][pKills] ++;
          PlayerInfo[playerid][pDeaths] ++;
          format(string, sizeof(string), "You killed %s and recieved $1,000!", Name(playerid));
          SendClientMessage(killerid, COLOR_CYAN, string);
          format(string1, sizeof(string1), "You've been killed by %s!", Name(killerid));
          SendClientMessage(playerid, COLOR_CYAN, string1); // See? Nothing wrong and you don't get it?

     }
     return 1;
}
Reply


Messages In This Thread
No cash or score given :( - by Elysian` - 14.11.2012, 18:09
Re: No cash or score given :( - by Glad2BeHere - 14.11.2012, 18:15
Re: No cash or score given :( - by Xbowman - 14.11.2012, 18:18
Re: No cash or score given :( - by Elysian` - 14.11.2012, 18:20
Re: No cash or score given :( - by Glad2BeHere - 14.11.2012, 18:23
Re: No cash or score given :( - by Elysian` - 14.11.2012, 19:05
Re: No cash or score given :( - by Glad2BeHere - 14.11.2012, 19:06
Re: No cash or score given :( - by Elysian` - 14.11.2012, 19:12
Re: No cash or score given :( - by sleepysnowflake - 14.11.2012, 19:19
Re: No cash or score given :( - by Elysian` - 14.11.2012, 19:40

Forum Jump:


Users browsing this thread: 1 Guest(s)