Calling a function by ID
#1

My question is fairly simple, how can I call a function by it's ID and not direct name?

Basically, here is an example of what I mean:
pawn Code:
CallFunctionByID(funcname[])
{
    new functionid = funcidx(funcname);
    if(functionid != -1)
    {
         CallLocalFunction_ByID(functionid);
    }
    return 1;
}
Reply
#2

by using timers to call a function after the specified interval.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)