Raised This Month: $ Target: $400
 0% 

Help with time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
PyKw
Junior Member
Join Date: Jan 2012
Old 12-29-2013 , 17:22   Help with time
Reply With Quote #1

Hi, so i want a plugin that when its 20:00 a message is send to all connected players.
I tried this but not working...
Code:
#include <amxmodx>

public plugin_init()
{
	register_plugin("On Time", "1.0", "PyKw")
}

public check_time()
{
	new h, m, s;
	time(h, m, s)
	if(h == 20)
		client_print(0, print_chat, "Its 20:00")
}
Please help!

Last edited by PyKw; 12-29-2013 at 17:23.
PyKw 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 10:07.


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