Filterscript read stock in main gm?
#5

Okay what I did was created:
Код:
forward playermoney(playerid, amount);
public playermoney(playerid, amount)
{
    GiveZaiatMoney(playerid, amount);
	return 1;
}
Then in the filterscript created
CallRemoteFunction("playermoney", "ii", playerid, money);

which takes me to the script above which takes me to the stock givezaiatmoney But iv run into a problem.
How do I turn these two into the above callremotefunction? Its for when selling your car to another player..? and how would I edit the above script? Thanks!

GivePlayerMoney(playerid, -price);
GivePlayerMoney(targetid, price);

GivePlayerMoney(i, -cost); .. ?
Reply


Messages In This Thread
Filterscript read stock in main gm? - by oblexive - 15.07.2012, 17:57
Re: Filterscript read stock in main gm? - by Matz - 15.07.2012, 18:05
Re: Filterscript read stock in main gm? - by GSRP - 15.07.2012, 18:06
Re: Filterscript read stock in main gm? - by oblexive - 15.07.2012, 18:12
Re: Filterscript read stock in main gm? - by oblexive - 15.07.2012, 19:25
Re: Filterscript read stock in main gm? - by Calgon - 15.07.2012, 19:40
Re: Filterscript read stock in main gm? - by oblexive - 15.07.2012, 19:43

Forum Jump:


Users browsing this thread: 1 Guest(s)