Hey! I want to know how I can make a delay for 2 seconds when calling a function. I has tried to make a task but I cant get it to work with my value.
PHP Code:
public handlemenu(id, menu, item){
new szItem[33], _access, callback;
menu_item_getinfo(menu, item, _access, "", 0, szItem, 32, callback);
load(id, 1, szItem);
}
load(id, number, const szConfigsName[])
{
new szPath[129];
format(szPath, 128, "%s.test", szConfigsName);
}
NOTE! I has deleted some code so it will be easier to read!
Hope I have posted in the right forum.