Raised This Month: $ Target: $400
 0% 

What do the colors of the code mean and how do I make them that color?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 07-29-2008 , 03:44   What do the colors of the code mean and how do I make them that color?
Reply With Quote #1

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....
__________________
Think Positive - Stay Positive
drumzplaya13 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 05:33.


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