16.01.2010, 09:53
how do i get it so if they use a money hack they auto get that money that they gave themsealf takin away from them??
thx for ur time
thx for ur time
#define ResetMoneyBar ResetPlayerMoney #define UpdateMoneyBar GivePlayerMoney stock GivePlayerCash(playerid, money) { PlayerInfo[playerid][pCash] += money; ResetMoneyBar(playerid);//Resets the money in the original moneybar, Do not remove! UpdateMoneyBar(playerid,PlayerInfo[playerid][pCash]);//Sets the money in the moneybar to the serverside cash, Do not remove! return PlayerInfo[playerid][pCash]; } stock SetPlayerCash(playerid, money) { PlayerInfo[playerid][pCash] = money; ResetMoneyBar(playerid);//Resets the money in the original moneybar, Do not remove! UpdateMoneyBar(playerid,PlayerInfo[playerid][pCash]);//Sets the money in the moneybar to the serverside cash, Do not remove! return PlayerInfo[playerid][pCash]; } stock ResetPlayerCash(playerid) { PlayerInfo[playerid][pCash] = 0; ResetMoneyBar(playerid);//Resets the money in the original moneybar, Do not remove! UpdateMoneyBar(playerid,PlayerInfo[playerid][pCash]);//Sets the money in the moneybar to the serverside cash, Do not remove! return PlayerInfo[playerid][pCash]; } stock GetPlayerCash(playerid) { return PlayerInfo[playerid][pCash]; }