28.10.2018, 22:30
Doesn't make any sense, what's the point of creating another function if it's still going to be a check,
Like, creating this:
That's just creating a function to check a variable, same as checking the variable's value, no difference whatsoever, and if it's accepting 1's and 0's i advice adding the 'bool:' tag to identify that variable's type and using the char arrays to utilize less memory usage over the variable's capacity.
Like, creating this:
pawn Код:
bool:IsPlayerInFaction(playerid)
{
return (FactionInfo[playerid][factionmember]);
}