I have this code
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <zp50_class_human>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
// Add your code here...
}
// Human Attributes
new const humanclass3_name[] = "Gravity human"
new const humanclass3_info[] = "HP-- Gravity---"
new const humanclass3_models[][] = { "leet" }
const humanclass3_health = 25
const Float:humanclass3_speed = 1.0
const Float:humanclass3_gravity = 0.4
new g_HumanClassID5
public plugin_prechache ()
{
register_plugin ("[ZP] Class: Gravity Human", ZP_VERSION_STRING, "ZP Dev Team")
g_HumanClassID5 = zp_class_human_register (humanclass3_name, humanclass3_info, humanclass3_health, humanclass3_speed, humanclass3_gravity);
new index
for (index = 0; index < sizeof humanclass3_models; index++)
zp_class_human_register_model(g_HumanClassID5, humanclass3_models[index])
}
.. and for some reason when I compile it and get the amxx file and put it in the plugins folder and add it in the plugins.ini it is not working? Is my code wrong somewhere? Please help me I am new at this
Kind regards
Mymaqn
Edit: I posted the thread here because I didn't know where else to put it