/*================================================================================
----------------------------------
-*- [ZP] Class: Human: Classic -*-
----------------------------------
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 <fun>
#include <zp50_class_human>
#include <zp50_core>
#include <zp50_colorchat>
// Classic Human Attributes
new const humanclass1_name[] = ""
new const humanclass1_info[] = ""
new const humanclass1_models[][] = { "" }
const humanclass1_health = 150
const Float:humanclass1_speed = 1.02
const Float:humanclass1_gravity = 0.9
new g_HumanClassID
public plugin_precache()
{
register_plugin("[ZP] Klasa: Human: PredanVIP", ZP_VERSION_STRING, "ZP Dev Team")
g_HumanClassID = zp_class_human_register(humanclass1_name, humanclass1_info, humanclass1_health, humanclass1_speed, humanclass1_gravity)
new index
for (index = 0; index < sizeof humanclass1_models; index++)
zp_class_human_register_model(g_HumanClassID, humanclass1_models[index])
}
public zp_fw_class_human_select_pre(id, classid)
{
if(!(get_user_flags(id) & ADMIN_LEVEL_H) && classid == g_HumanClassID)
{
return ZP_CLASS_NOT_AVAILABLE;
}
return ZP_CLASS_AVAILABLE;
}
na flagę t, sprawdź czy działa.


Dodatki SourceMod




Moja zawartość
Mężczyzna



