I'm not your "mate".
When you want to help someone please help yourself and everyone here by not posting anything.
You think you know how to script, but you don't.
I'm not asking for a discussion, just don't react.
---
If anyone is wondering what he posted, this is it:
Quote:
|
Originally Posted by newbie1233
Code:
#include <amxmodx>
#include <amxmisc>
#include <engine> //Needs a engine to set user the health
#include <fun>
#include <cstrike>
#define PLUGIN "Admin_health"
#define VERSION "1.0"
#define AUTHOR "HeadxShot"
make sure there is a space for each one as include and define is different
Code:
cmd_hp needs to be cmdhp
Code:
public cmdhp(id, level, cid)
{
if (!cmd_access(id, level, cid, 3))
return PLUGIN_HANDLED
new Arg1[2] //needs to be 2
new Arg2[3] //needs to be 3
//Get the command arguments from the console
read_argv(1, Arg1, 2) //needs to be 2
read_argv(2, Arg2, 3) //same as it is
Code:
register_concmd("amx_hp", "cmd_hp", ADMIN_LEVEL_A, "<target> <hp>")
|
__________________