Raised This Month: $ Target: $400
 0% 

How I can delay the plugin?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
danonix
Senior Member
Join Date: Dec 2012
Old 03-01-2013 , 13:53   How I can delay the plugin?
Reply With Quote #1

Hello guys, I have a problem, I don't know how to delay the plugin
Code:
    client_print(0, print_chat, "say --- LIVE ON THREE RESTARTS");
    server_cmd("sv_restart 1");
    /*/ WAIT 2s /*/
    server_cmd("sv_restart 1");
    server_cmd("sv_restart 3");
    client_print(0, print_chat, "[-----------------------LIVE-]");
    client_print(0, print_chat, "[----------------------LIVE--]");
I would like to do it by that way, so as first its doing sv_restart 1, next sv_restart 1 and restart 3, but it's like all comands are being done after starting the plugin. Something like if round restarted, restart again, if round restarted, restart again, if round restarted restart again.

Last edited by danonix; 03-01-2013 at 13:53.
danonix 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:36.


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