Little help with CallRemoteFunc
#2

What kind of errors? A second parameter is needed for the amount of money
pawn Код:
forward SetPlayerVarMoney(playerid, cash);
public SetPlayerVarMoney(playerid, cash)
{
    PlayerInfo[playerid][pCash] += cash;
}
as well as when calling from a filterscript:
pawn Код:
CallRemoteFunction("SetPlayerVarMoney", "ii", playerid, cash_here);
EDIT: Sorry, didn't refresh the page.
Reply


Messages In This Thread
Little help with CallRemoteFunc - by Xeuq - 06.08.2016, 09:18
Re: Little help with CallRemoteFunc - by Konstantinos - 06.08.2016, 09:22
Re: Little help with CallRemoteFunc - by Xeuq - 06.08.2016, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)