I am new to scripting and I just need to learn some basics first before I really try and jump into things...
So I see in plugins that different parts of the code have different colors to them, are the colors automatic or do I have to change them by hand (I was going to use notepad to create the plugin/code)? How do I compile a plugin, and if i compile it will it automatically change the color of the code to make it work?
Code:
#include <amxmodx>
#include <amxmisc> //This contains some useful functions
#include <fun> //This contains the function to change health
new PLUGIN[]="Change Health"
new AUTHOR[]="BAILOPAN"
new VERSION[]="1.00"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_hp", "cmd_hp", ADMIN_SLAY, "<target> ")
}
public cmd_hp(id, level, cid)
{
return PLUGIN_HANDLED
Sorry im very new at this but im just trying to get some basic knowledge of things before I try and do actual scripting so please bare with me. Also if anyone has any good tutorials they would like to share that really helped them I would be very happy to read over them so I dont have to bug everyone all the time about scripting while I learn....
__________________