25.08.2012, 09:28
In OnPlayerDeath, set PlayerInfo[playerid][pCash] to GetPlayerMoney.
You shouldn't be using code which works this way though - hacking money is very easy. See https://sampforum.blast.hk/showthread.php?tid=71136
Also, stop bumping.
pawn Код:
PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
Also, stop bumping.