Raised This Month: $ Target: $400
 0% 

another system than looping task as thinking ent(s)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 05-16-2011 , 20:03   another system than looping task as thinking ent(s)
Reply With Quote #1

Not really sure what this means but the idea is

im using set_task with "b" flag to create a bleeding function in my plugin.

Conor told me
"Consider another system than looping task as thinking ent(s)"

I have no idea what he means but i have tried while loops. but that just happens really fast lol.. i need to be able to put a delay in set via cvar.

thats why i used

PHP Code:
set_task(get_pcvar_float(delay), "Function""id"__"b"); 
and if settask is all i can use then how can i copy "Floatirection" , to a global variable to put in

ExecuteHamB(Ham_TraceBleed, id, dmg, Floatirection, trace, dmgbits);
Doc-Holiday is offline
 



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 04:29.


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