05.05.2017, 06:56
Make sure you have checked if the bounty_placed_by player has left or not.
Like
Change it to
Like
Quote:
PlayerInfo[PlayerInfo[playerid][Bounty_placed_by]][pCash] += PlayerInfo[playerid][Bounty_price]; |
Quote:
if (PlayerInfo[playerid][Bounty_placed_by] != INVALID_PLAYER_ID) PlayerInfo[PlayerInfo[playerid][Bounty_placed_by]][pCash] += PlayerInfo[playerid][Bounty_price]; |