Raised This Month: $ Target: $400
 0% 

Death Announcement


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
stigma
Senior Member
Join Date: Mar 2005
Location: Denmark
Old 03-25-2005 , 18:15   Death Announcement
Reply With Quote #1

I've made a little death msg script here, but it wont work, i think it's something with the 'register_event' because i dont know what i should set the flags to, i've forgotten it.. But take a look:

Code:
#include <amxmodx> public plugin_init() {   register_event("DeathMsg","death","abd") } public DeathMsg(id) {   new killer = read_data(1)   new khealth[32]   get_user_health(id,khealth,31)   new karmor[32]   get_user_armor(id,karmor,31)   new message[100]   format(message,99,"You where killed by %s^nHe still has %i HP and %i AP", killer, khealth, karmor);     set_hudmessage(100, 50, 200, 1.50, 1.50, 2, 2.0, 5.0, 0.3, 0.2, 6)   show_hudmessage(id,message) }
stigma is offline
Send a message via MSN to stigma Send a message via Skype™ to stigma
 



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 09:56.


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