Transform this
#2

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:
pawn Код:
bool:IsPlayerInFaction(playerid)
{
    return (FactionInfo[playerid][factionmember]);
}
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.
Reply


Messages In This Thread
Transform this - by KinderClans - 28.10.2018, 22:24
Re: Transform this - by RogueDrifter - 28.10.2018, 22:30
Re: Transform this - by TheToretto - 28.10.2018, 22:32
Re: Transform this - by RogueDrifter - 28.10.2018, 22:35
Re: Transform this - by BigETI - 29.10.2018, 10:16
Re: Transform this - by GameOvr - 29.10.2018, 10:27
Re: Transform this - by IllidanS4 - 29.10.2018, 11:26
Re: Transform this - by BigETI - 29.10.2018, 11:33
Re: Transform this - by TheToretto - 29.10.2018, 11:38
Re: Transform this - by Y_Less - 29.10.2018, 13:42
Re: Transform this - by RogueDrifter - 29.10.2018, 22:14
Re: Transform this - by TheToretto - 29.10.2018, 22:54
Re: Transform this - by KinderClans - 29.10.2018, 23:03
Re: Transform this - by Y_Less - 30.10.2018, 09:50
Re: Transform this - by Kane_ - 30.10.2018, 10:38

Forum Jump:


Users browsing this thread: 1 Guest(s)