debug problem
#3

Make sure you have checked if the bounty_placed_by player has left or not.

Like
Quote:

PlayerInfo[PlayerInfo[playerid][Bounty_placed_by]][pCash] += PlayerInfo[playerid][Bounty_price];

Change it to

Quote:

if (PlayerInfo[playerid][Bounty_placed_by] != INVALID_PLAYER_ID)
PlayerInfo[PlayerInfo[playerid][Bounty_placed_by]][pCash] += PlayerInfo[playerid][Bounty_price];

Reply


Messages In This Thread
debug problem - by JuzDoiT - 04.05.2017, 16:35
Re: debug problem - by Vince - 04.05.2017, 16:53
Re: debug problem - by ShihabSoft - 05.05.2017, 06:56

Forum Jump:


Users browsing this thread: 1 Guest(s)