Raised This Month: $ Target: $400
 0% 

Could some one tell me?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 06-20-2011 , 06:29   Could some one tell me?
Reply With Quote #1

I want to know how to use register_event , if theres some where a tutorial I would really like if you give me the link.
I tried to use it like this:

Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#define PLUGIN "New plugin"
#define VERSION "1.0"
#define AUTHOR "Me :D"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_event("DeathMsg", "Function", "de");
	}


public Function(id)
{
	set_hudmessage(0, 255, 0, -1.0, -1.0)
	show_hudmessage(id, "Your dead")
	
}
usaexelent is offline
Send a message via Skype™ to usaexelent
 



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 23:27.


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