15.07.2012, 19:25
Okay what I did was created:
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); .. ?
Код:
forward playermoney(playerid, amount); public playermoney(playerid, amount) { GiveZaiatMoney(playerid, amount); return 1; }
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); .. ?