Raised This Month: $ Target: $400
 0% 

Noobie at scripting..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Shaitan
BANNED
Join Date: Oct 2005
Location: Over there
Old 12-31-2005 , 22:11   Noobie at scripting..
Reply With Quote #1

Alright.. I read the doc.. I have a question.. I read the Basic Plugin completely.. about the amx_hp plugin..
Code:
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
}
Now, I understand register_plugin, thats obvious..
register_concmd.. I understand amx_hp.. I understand the admin level, and I understand the <target> for amx_help. I dont understand cmd_hp.. I think that its the command that is sent to the server.. Not sure though... But, That is only for health.. What if I want to make a completely different plugin, having nothing to do with health.. How do I find that?

Thnx.. Real noob at scripting.
Shaitan is offline
Send a message via AIM to Shaitan
 



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 16:12.


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