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-16-2017 , 14:13   Re: Does set_task remove already set one?
Reply With Quote #6

PHP Code:
    register_clcmd("say /tt""Tt");
}

public 
Tt(player) {
    
set_task(5.0"Dd"player);
}

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

It prints message two times if I type to chat "/tt" two times almost at once.
__________________
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