Raised This Month: $ Target: $400
 0% 

error 017: undefined symbol "get_user_maxhealth"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 06-07-2023 , 17:51   error 017: undefined symbol "get_user_maxhealth"
Reply With Quote #1

When i try to compile a ZPA 1.6.1 plugin i made using the ready-to-use examples in "examples" folder, i get the following error:

error 017: undefined symbol "get_user_maxhealth"

This is the code segment the error comes from:

Code:
public zp_player_killed(victim, killer, weapon)
{
	// Check if it is our game mode
	if (zp_get_current_mode() == g_gameid)
	{
		// Check if the killer is a human and the victim is a zombie
		if (!zp_get_user_zombie(killer) && zp_get_user_zombie(victim))
		{
			// Set the killer's health to full
			set_user_health(killer, get_user_maxhealth(killer))
		}
	}
Can someone explain to me how to fix the error?
GlobalPlague 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 10:24.


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