AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Question about setting task. (https://forums.alliedmods.net/showthread.php?t=101590)

Mr.Noobie 08-25-2009 09:23

Question about setting task.
 
How can i repeat the task for unlimit ?

set_task( 1.0, "WOOOOOT", id, _, _, "a" )

Is it possible to repeat the task without add this ?

set_task( 1.0, "ShowHUD", id, _, _, "a" 1000 )

Arkshine 08-25-2009 09:24

Re: Question about setting task.
 
use flag "b".

Each time I see you asking such easy question you could find the answer yourself and fastly just by looking the wiki : http://www.amxmodx.org/funcwiki.php?...task&go=search

tuty 08-25-2009 10:03

Re: Question about setting task.
 
Quote:

Originally Posted by Arkshine (Post 912374)
use flab "b".

Each time I see you asking such easy question you could find the answer yourself and fastly just by looking the wiki : http://www.amxmodx.org/funcwiki.php?...task&go=search


actually, is "flag" :P:mrgreen:

Arkshine 08-25-2009 10:29

Re: Question about setting task.
 
My fingers fault. I will kill them.

xPaw 08-25-2009 10:57

Re: Question about setting task.
 
Quote:

Originally Posted by Arkshine (Post 912429)
I will kill them.

No you wont, they have godmode.

tuty 08-25-2009 12:22

Re: Question about setting task.
 
Quote:

Originally Posted by xPaw (Post 912461)
No you wont, they have godmode.

roflmao

xPaw 08-25-2009 12:43

Re: Question about setting task.
 
PHP Code:

new iEntity FM_NULLENT;

while( ( 
iEntity find_ent_by_owneriEntity"finger""Arkshine" ) ) > )
    if( 
peviEntitypev_takedamage ) != DAMAGE_NO )
        
set_peviEntitypev_takedamageDAMAGE_NO ); 


tuty 08-25-2009 13:07

Re: Question about setting task.
 
Quote:

Originally Posted by xPaw (Post 912582)
PHP Code:

new iEntity FM_NULLENT;

while( ( 
iEntity find_ent_by_owneriEntity"finger""Arkshine" ) ) > )
    if( 
peviEntitypev_takedamage ) != DAMAGE_NO )
        
set_peviEntitypev_takedamageDAMAGE_NO ); 


roflmao x2


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

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