Raised This Month: $51 Target: $400
 12% 

Help / Support help in zombie xp


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FBultimate
Junior Member
Join Date: May 2022
Old 05-11-2022 , 15:24   help in zombie xp
Reply With Quote #1

hello all
sorry if this is the wrong section but iam new here
first i downloaded this plugin zombie xp https://forums.alliedmods.net/showthread.php?t=84015
everything work fine but when i turn to sniper or make anyone sniper he dead directly once or the sniper carry weapon and don't AWP
plz help and thank u ^^
FBultimate is offline
FBultimate
Junior Member
Join Date: May 2022
Old 05-19-2022 , 16:07   Re: help in zombie xp
Reply With Quote #2

hello i fixed the problem but i still have another one which i can't sove
"sniper hp still the same as my human class when i change it from zombieplague.ini it didn't change"
please someone help me
FBultimate is offline
FBultimate
Junior Member
Join Date: May 2022
Old 05-24-2022 , 09:57   Re: help in zombie xp
Reply With Quote #3

hello here is one from my human class
Code:
/*================================================================================
Human Test
================================================================================*/

#include <amxmodx>
#include <fakemeta>
#include <zombieplague>
#include <zombiexp>

// Human Attributes
new const hclass_name[] = { "Human1" } // name
new const hclass_info[] = { "human" } // description
new const hclass_model[] = { "" } // model
new const hclass_weapons[] = { "" } // weapons
const hclass_health = 300 // health
const hclass_speed = 320 // speed
const Float:hclass_gravity = 1.0 // gravity
const hclass_level = 1 // level required to use

// Class IDs
new g_hclassid

// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
	new registerText[32]
	formatex( registerText, sizeof registerText - 1, "[ZPXP] %s human", hclass_name)
	
	register_plugin(registerText, "1.0", "N3messys")
	
	// Register the new class and store ID for reference
	g_hclassid = zpxp_register_human_class(hclass_name, hclass_info, hclass_model, hclass_weapons, hclass_health, hclass_speed, hclass_gravity, hclass_level)
	
	if(g_hclassid == -1)
	{
		server_print("[ZPXP] You have not properly setup your Zombie XP Mod.");
	}
}

// User Infected forward
public zp_user_infected_post(id, infector, nemesis)
{
	// Check if the infected player is using our custom zombie class
	if (zp_get_user_human_class(id) != g_hclassid) return;
	
	// Undo any settings we have saved here
	
}

public zp_user_humanized_post(id)
{
	// Check if the infected player is using our custom zombie class
	if (zp_get_user_human_class(id) != g_hclassid) return;

	// User turned human
	if (zp_get_user_survivor(id) == 1)
	{
		// He's survivor, remove any changes made in the plugin
		zp_user_infected_post(id, 0, 0)
	} else {
		zp_round_started_human(id)
	}
}

//This is a forward from zpxp, as opposed to ZPs round_start (which is when infection begins) this is the true beginning of the round
public zp_round_started_human(id)
{
	if (zp_get_user_human_class(id) != g_hclassid) return;
	
	// Set our human's powers!
		
}
FBultimate is offline
FBultimate
Junior Member
Join Date: May 2022
Old 05-25-2022 , 15:53   Re: help in zombie xp
Reply With Quote #4

230 view and no one want at least say anything to advice me or help me anyway thank u guys
you can close it
FBultimate is offline
Reply



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 03:18.


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