13.09.2011, 07:58
Quote:
It's cool, but everytime people get the money, it resets it back, so like they didn't receive it. Is that within my script, or what? Thanks.
|
pawn Код:
// top of script
new LastMoney[MAX_PLAYERS];
// onplayerdisconnect
GetPlayerMoney(playerid, LastMoney[playerid]);
// onplayerspawn
GivePlayerMoney(playerid, LastMoney[playerid]);