FS not working ?
#1

hey guys i have a FS that wont give me the money and wont take them away from that player who give it to me.

FS: http://pastebin.com/Det6nSaq

the giveplayermoney is at the end of script line 254 and 255
Reply
#2

Well your first issue is not having a GivePlayerCash function... where is that? You also have 2 cash variables, 1 of which is unused.
Reply
#3

i had this

Код HTML:
#define ResetMoneyBar ResetPlayerMoney
#define UpdateMoneyBar GivePlayerMoney
stock GivePlayerCash(playerid, money)
{
	    Cash[playerid] += money;
	    ResetMoneyBar(playerid);
	    UpdateMoneyBar(playerid, Cash[playerid]);
	    PlayerInfo[playerid][pCash] = Cash[playerid];
	    Update(playerid, pCashx);
        return Cash[playerid];
}
but still didn't worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)