Hi!
I'm pretty new with scripting and i want to learn to make own plugins.
So i started a project from scratch and i mixed what i thought was good,
I want to when i say !PAININTHEASS it will give the player who said it 225 hp.
i watched a tutorial at
http://wiki.amxmodx.org/index.php/In...od_X_Scripting and i used some lines of
http://forums.alliedmods.net/showthread.php?t=12518
So i started with this. And i will have some help
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
new PLUGIN[]="PAIN IN THE ASS"
new AUTHOR[]="TRUETYPE"
new VERSION[]="1.00"
new !PAININTHEASS;
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say !PAININTHEASS", "!PAININTHEASS")
register_cvar("sv_painintheass", "1")
register_concmd("amx_hp", "cmd_hp")
}
if(get_pcvar_num("!PAININTHEASS") == "cmd_hp 225 PLAYER" {
I know that i sure have something wrong but I still want to learn

I really dont know how to continue but I will have help with this so i can learn something about scripting xD
Please help me.