12.10.2015, 13:07
PHP код:
GetPlayerMoneyEx(playerid){
return PlayerInfo[playerid][Money];
}
SetPlayerMoneyEx(playerid,money){
PlayerInfo[playerid][Money] = money;
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,money);
}
GivePlayerMoneyEx(playerid,money){
PlayerInfo[playerid][Money] += money;
GivePlayerMoney(playerid,money);
}