View Single Post
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-21-2017 , 23:15   Re: [INC/STOCK] menu_set_timeout
Reply With Quote #23

Quote:
Originally Posted by Emp` View Post
Yes, the taskids are TASK_* + player. Note -1 is unnecessary.

Tracking taskids is important if you need change_task or remove_task.

Might be worth mentioning that multiple plugins can create different tasks with the same id numbers.
Luckily, conflict is usually avoided because outside defaults to 0 in remove_task.
One of the worst design decisions in AMXX in my opinion. Tasks should've been handles instead.

Last edited by klippy; 02-21-2017 at 23:16.
klippy is offline