14.02.2015, 15:08
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:
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;
}