Raised This Month: $ Target: $400
 0% 

Will this work?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
OneMoreLevel
Senior Member
Join Date: Aug 2009
Location: Look behind you... Very
Old 11-29-2009 , 17:09   Will this work?
Reply With Quote #1

It compiles fine, I just dont have a server to test it on.
PHP Code:
/* Invisi-Health */

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

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd"say !IHStats","say_ihstats")
    
    
RegisterHam(Ham_TakeDamage"player""fw_takedamage")
    
    
}
public 
fw_takedamage(id)

    new 
getuser = (get_user_health(id)) * 50
    set_user_rendering
idkRenderFxGlowShell000kRenderTransAlphagetuser)
    
    

public 
say_ihstats(id)
{
    new 
iHealth get_user_health(id)
    new 
iArmor get_user_armor(id)
    new 
getuser = (get_user_health(id)) * 50
    client_print 
(idprint_chat,"Your Health is %s",iHealth)
    
client_print (idprint_chat,"Your Armor is %s",iArmor)
    
client_print (idprint_chat,"Your Transparency is %s out of 255",getuser)

__________________
60/100 60%
[||||||||||||||||||||]
Project: Warfighter mod
Blog:
http://sites.google.com/site/dailymultitasker/
PHP Code:
   if ( i_help_you "Yes" ) == )
    
set_user_karma(onemorelevel,add,+1
OneMoreLevel is offline
 



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 13:39.


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