[QUESTION]CallLocalFunction Usage
#1

What is the difference between normally calling a function or by CallLocalFunction?
Example:
pawn Код:
public OnPlayerConnect(playerid)
{
    if(IsPlayerNPC(playerid))
    {    
        OnPlayerCommandText(playerid,"/SkipRegistration");
        //CallLocalFunction("OnPlayerCommandText","ds",playerid,"/SkipRegistration");
    }
    return 1;
}
Reply
#2

The CLF is almost 3 times slower (when running 1.000.000 times so, well, it's irrevelant)
It's used mainly for variable function names
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)