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.