Raised This Month: $ Target: $400
 0% 

Removing Things


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-05-2007 , 14:46   Re: Removing Things
Reply With Quote #5

eactly what master said, you removed the jughud task, but if yourt repeated_task() function is a reapeated task, then as soon as you stop it, the task starts a new one. You will have to remove the repeated task. Or have a global var and set it to false. and everythime you are about to make a hud check that var and only start the hud task if it is true. that way you can control the flow of the hudmessage via varriable.

i mean:
Code:
new bool:var = true; //... if(var) {      set_task(0.1,"jugghud",TASKID_JUGGHUD); } //... if(task_exists(TASKID_JUGGHUD))             remove_task(TASKID_JUGGHUD) var = false;
see what I mean, that kinda deal-eo.
__________________
DO NOT PM me about avp mod.
Rolnaaba 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 21:28.


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