Raised This Month: $ Target: $400
 0% 

degree HP if...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 06-24-2009 , 16:51   degree HP if...
Reply With Quote #1

can somone make this work?

PHP Code:
#include <amxmodx>
#include <fun>
#include <hamsandwich>

new gPlayerHP = (set_user_health(id))
new 
gFOK = (get_user_frags(id) - get_user_kills(id))

public 
plugin_init() {
    
register_plugin("test""1.0""Beancake12")
    
RegisterHam(Ham_Spawn"player""player_spawn"1)
}

public 
player_spawn(id) {
   if(
gFOK => 0)
      
gPlayerHP 310 - (gFOK*10)


Last edited by timian; 06-26-2009 at 12:35.
timian 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 15:34.


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