Quote:
Originally Posted by Akcent_Voltaj
PHP код:
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];
}
if i put this it will not work in fs..
|
Yup, it wont work that way. One way is to remove all that and download my Filterscript, or another Anti Money Hack, which is using include files, so you can use GivePlayerCash in FS too.