Raised This Month: $ Target: $400
 0% 

this plugin keeps killing everyone :( help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 10-12-2006 , 17:27   Re: this plugin keeps killing everyone :( help
Reply With Quote #5

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>")
__________________
Released six formerly private plugins. Not active here since ages.

Last edited by MaximusBrood; 10-12-2006 at 17:30.
MaximusBrood is offline
 



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 04:46.


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