Raised This Month: $ Target: $400
 0% 

Could some one tell me?


Post New Thread Reply   
 
Thread Tools Display Modes
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
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-20-2011 , 06:50   Re: Could some one tell me?
Reply With Quote #2

Next time, search yourself in the tutorials section before asking

https://forums.alliedmods.net/showth...register_event
__________________
Arkshine is offline
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 06-20-2011 , 06:55   Re: Could some one tell me?
Reply With Quote #3

Thanks a lot, I didn't noticed that tutorial sorry.
usaexelent is offline
Send a message via Skype™ to usaexelent
Reply


Thread Tools
Display Modes

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