Raised This Month: $ Target: $400
 0% 

Used AMXXEasy X :: Need Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
[CFF] gr3ed
Senior Member
Join Date: Oct 2006
Location: UNKNOWN, USA
Old 05-27-2007 , 20:52   Used AMXXEasy X :: Need Help
Reply With Quote #1

I was hoping it'd help me(it didn't) and made a simple plugin. I add "return PLUGIN_HANDLED;" since it does not seem to add that and a few other minor details. But in all....dunno what I'm doing and I'm guessing part of this code is wrong for sure. If someone could help....thanks.
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
// First plugin

#define PLUGIN "amx_random"
#define VERSION "1.0"
#define AUTHOR "gr3ed"


public plugin_init()
{
    register_plugin("PLUGIN","VERSION","AUTHOR")

    register_event("ResetHUD","event_spawn","be")
}

public client_connect(id)
{
    client_print(0,print_chat,"%s Has Joined The Game!")
}


public event_spawn(id)
{
    give_item(id,"42");

     return PLUGIN_HANDLED;
}
Also if you could add comments to explain to me what it all means. Thanks again.
__________________
+karma me if I help.

Last edited by [CFF] gr3ed; 06-08-2007 at 19:42.
[CFF] gr3ed is offline
Send a message via MSN to [CFF] gr3ed Send a message via Yahoo to [CFF] gr3ed
 


Thread Tools
Display Modes

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 10:37.


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