Raised This Month: $ Target: $400
 0% 

New Code Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Waleed
Senior Member
Join Date: May 2012
Location: Pakistan
Old 05-16-2012 , 08:39   New Code
Reply With Quote #1

I have changed the code,But still it isn't displaying anything,Any mistake here?

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

#include <amxmodx>
#include <amxmisc>
#include <Hamsandwich>

#define PLUGIN "HUD-Message"
#define VERSION "1.0"
#define AUTHOR "Waleed Baig"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	RegisterHam(Ham_Spawn,"players","fwhamplayerspawnpost",1)
	
}
public fwhamplayerspawnpost(iplayer)
{

 if (is_user_alive(iplayer))
{	
	set_hudmessage(0, 0, 255,0.5,0.5,0,6.0,30,0.5,0.5,4)
	show_hudmessage(iplayer, "I AM TRYING TO SHOW THIS MESSAGE")
	
}
}

Last edited by Waleed; 05-16-2012 at 08:40.
Waleed is offline
Send a message via Skype™ to Waleed
Reply



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 00:21.


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