AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   How ? (https://forums.alliedmods.net/showthread.php?t=173878)

PROisPRO 12-11-2011 16:56

How ?
 
Hi, how to put the plugin in a function only works in due time ... Example: just in time 10:00 AM - 10:00 PM for some part of the plugin.

For example, to work only at certain times this code:
Code:

public cmdLoL(id)
{
client_print(id, print_chat, "............")
...
}

I hope you understand me, because I do not know English well.

fysiks 12-11-2011 17:59

Re: How ?
 
Are you asking for scripting help? If yes, you could use code similar to this one:

joshknifer 12-12-2011 13:11

Re: How ?
 
You may be able to use a task scheduler plugin as well.


All times are GMT -4. The time now is 20:47.

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