Raised This Month: $ Target: $400
 0% 

Compile error 017: undefined symbol "fm_set_user_health"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
sawled
Member
Join Date: Jun 2011
Old 07-12-2014 , 02:06   Compile error 017: undefined symbol "fm_set_user_health"
Reply With Quote #1

PHP Code:
public message_health(msg_idmsg_destmsg_entity)
{
    
// Get player's health
    
static health
    health 
get_msg_arg_int(1)
    
    
// Don't bother
    
if (health 256) return;
    
    
// Check if we need to fix it
    
if (health 256 == 0)
        
fm_set_user_health(msg_entitypev(msg_entitypev_health) + 1)
    
    
// HUD can only show as much as 255 hp
    
set_msg_arg_int(1get_msg_argtype(1), 255)

Error line -
PHP Code:
fm_set_user_health(msg_entitypev(msg_entitypev_health) + 1
sawled is offline
 


Thread Tools
Display Modes

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


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