Quote:
|
Originally Posted by breaddawson
Code:
set_task(1.0,"ejl_dice_timer",77,"",0,"a", 9999)
what's the time between the first and the second call of the function?
|
The repeated task will get called every 1 second (1.0)....
Quote:
|
Originally Posted by breaddawson
about "PLUGIN_HANDLED"&"PLUGIN_CONTINUE"
after reading ur reply
i think it might mean this
when u write a "PLUGIN_HANDLED"
then it will do nothing but return with nothing
it leads to an end of ur function
and show nothing to u
but if u use a "PLUGIN_CONTINUE"
the affects made by this function will be shown to u
am i right??
|
Almost.. but try not to think of it in terms of Your Plugin Only, think of it in terms of AMX & All Loaded Plugins...
If my plugin registered a command like "amx_blah", then I could return PLUGIN_HANDLED at the end, cuz no other plugin will have an "amx_blah" command, so AMX itself is done...
But, if I thought maybe another plugin might have registered that command, I would return PLUGIN_CONTINUE to let AMX execute the other plugins code as well...
Make sense??