Function question
#8

You would need to add this function in the script that you want to change the local variable in.

pawn Код:
public speedBoost(playerid, value)
{
    antispeedboost[playerid] = value;
    return 1;
}
This is because CallRemoteFunction executes a public function, it doesn't directly interact with variables.
Reply


Messages In This Thread
Function question - by knackworst - 28.11.2010, 09:48
Re: Function question - by iggy1 - 28.11.2010, 09:54
Re: Function question - by XePloiT - 28.11.2010, 09:54
Re: Function question - by JaTochNietDan - 28.11.2010, 09:58
Re: Function question - by knackworst - 28.11.2010, 10:12
Re: Function question - by iggy1 - 28.11.2010, 10:16
Re: Function question - by knackworst - 28.11.2010, 10:22
Re: Function question - by JaTochNietDan - 28.11.2010, 10:26
Re: Function question - by knackworst - 28.11.2010, 10:34
Re: Function question - by JaTochNietDan - 28.11.2010, 10:38

Forum Jump:


Users browsing this thread: 4 Guest(s)