Raised This Month: $ Target: $400
 0% 

Will this little thing work?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CoolKiller
Member
Join Date: Jun 2005
Location: Denmark
Old 06-07-2005 , 12:23   Will this little thing work?
Reply With Quote #1

Will this work?
(aint home, so cant test this on my server. Just want to see if i have made anything right)
Code:
// Hey ya'll out there.. Readin tha plugin are ya?
// This is my first plugin.. Problable VERY simple, but well
// wanted to give "small" programming a try..!
#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
	Register_plugin("Showdate", "1.0", "ColKiller")
	register_clcmd("say /date", "tha_date", "admin_all", "Shows date")
	register_clcmd("say_team /date", "tha_date", "admin_all", "Shows date")
	register_clcmd("date", "tha_date", "admin_all", "Shows date")
	register_clcmd("say date", "tha_date", "admin_all", "Shows date")
	register_clcmd("say_team date", "tha_date", "admin_all", "Shows date")
}
Public tha_date
{
	set_hudmessage (red=200, green=100, blue=0, float:x=-1.0, float:y=o.35, effects=0, float:fxtime=6.0)
	show_hudmessage (0,date)
return PLUGIN_HANDLED
}
This is my first time, so please correct my mistakes, and i would like to know what i could change, or any improvements.. (my first script; its not supposed to be super complicated )
__________________
I TOLD you I sucked at this!!

http://www.amxmodx.org/forums/viewtopic.php?t=14504
Cool
CoolKiller is offline
Send a message via MSN to CoolKiller
 



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 16:50.


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