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-15-2012 , 08:38   Script Compiled,But Now working
Reply With Quote #1

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>



#define PLUGIN "SIMPLE HUD Message"
#define VERSION "1.0"
#define AUTHOR "Anonymouse"


public plugin_init()
{
RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1)
}

public fwhamplayerspawnpost(iplayer){
if (is_user_alive(iplayer))
{

client_print(iplayer,print_center,"YOU ARE RE SPAWNED,GOODLUCK! FOR THIS TIME")
client_print(iplayer,print_center,"DON'T GET FUCKED UP THIS TIME,RETREAT HELL!!")

}

else {

client_print(iplayer,print_center,"SCREWYOU,Y OU'RE DEAD AGAIN")
client_print(iplayer,print_center,"WAIT FOR RE-SPAWN")
}
}



I have compiled this script with no errors but its not working.
My plan was to show a message on respawn and on death,But not working.
Any suggestions,This is my first simple plugin,Help please..........
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