Raised This Month: $ Target: $400
 0% 

Does set_task remove already set one?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 02-17-2017 , 09:36   Re: Does set_task remove already set one?
Reply With Quote #8

And also /rem removes both tasks.
PHP Code:
    register_clcmd("say /add""Add");
    
register_clcmd("say /rem""Rem");
}

public 
Add(player) {
    
set_task(5.0"Show"player);
}

public 
Rem(player) {
    
remove_task(player);
}

public 
Show(player) {
    
client_print(playerprint_chat"!!!");

__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
 



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:02.


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