03.07.2014, 20:13
Hello all!
Well, I've searched and not found anything.
I have a boolean in one script, and I want to set it true in another script, using Call Remote Function:
But it isn't working, I get an error in this line:
How to fix this?
Thanks all in advance!
Well, I've searched and not found anything.
I have a boolean in one script, and I want to set it true in another script, using Call Remote Function:
pawn Код:
new bool: logged[MAX_PLAYERS];
forward LoggedCall(playerid);
public LoggedCall(playerid)
{
return logged[playerid];
}
//In another script, I need to turn on this boolean
CallRemoteFunction("LoggedCall", "i", playerid) = true;
pawn Код:
error 022: must be lvalue (non-constant)
Thanks all in advance!