Raised This Month: $ Target: $400
 0% 

set_hudmessage,set_task and another question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 10-03-2004 , 12:02  
Reply With Quote #5

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??
xeroblood is offline
Send a message via MSN to xeroblood
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode