hi i am gonna show you how to make a human class
*derp* the easiest way though
Just follow this steps...i am lazy to explain it.
STEPS!
STEP 1:
first Copy this code:
Code:
/*================================================================================
----------------------------------
-*- [ZP] Class: Human: YOU CAN ALSO EDIT THIS -*- //Name of class
----------------------------------
This plugin is part of Zombie Plague Mod and is distributed under the
terms of the GNU General Public License. Check ZP_ReadMe.txt for details.
================================================================================*/
#include <amxmodx>
#include <zp50_class_human>
// Raptor Human Attributes
new const humanclass2_name[] = "EDIT THIS" //the name of the class
new const humanclass2_info[] = "YOU CAN ALSO EDIT THIS" //its info
new const humanclass2_models[][] = { "YOU CAN ALSO EDIT THIS" } // its model
const humanclass2_health = YOU CAN ALSO EDIT THIS //its health
const Float:humanclass2_speed = YOU CAN ALSO EDIT THIS //its speed
const Float:humanclass2_gravity = YOU CAN ALSO EDIT THIS //its gravity
new g_HumanClassID
public plugin_precache()
{
register_plugin("[ZP] Class: Human: [name of the class]", ZP_VERSION_STRING, "ZP Dev Team")
g_HumanClassID = zp_class_human_register(humanclass2_name, humanclass2_info, humanclass2_health, humanclass2_speed, humanclass2_gravity)
new index
for (index = 0; index < sizeof humanclass2_models; index++)
zp_class_human_register_model(g_HumanClassID, humanclass2_models[index])
}
just edit the ones with the word saying "EDIT THIS" and also "YOU CAN ALSO EDIT THIS"
after that Just Compile it do whatever you have to do with .sma and .amxx
and you gotta have "zp50" at the name of your plugin like
e.g: zp50_class_human_[nameofyourplugin].sma
e.g(when yu compile it):zp50_class_human_[nameofyourplugin].amxx
------------------------------------------------If you dont know where to put the files?------------------------------------------
for the .sma you gotta put it in yourgame\cstrike\addons\amxmodx\Scripting\zp5 0
for the .amxx you put it in yourgame\cstrike\addons\amxmodx\plugins
HOPE IT HELPED!
p.s: this is my 1st tutorial for people out there who are wondering
"how to enable the human class??"
(except for the higher ranked dudes like senior member i guess they know how to make a human class already 0.0)
CREDITS
-me
-Zombie plague-for this code
-everyone who worked hard on zombie plague ;)
__________________