Hello, i made this topic if someone of the AMXX scripters her can look in the below code and tell me if the scripts have any faults. The plugin is working as it should be but actualy i don't know what i have done and just copied parts of other plugins. The only thing i'm not sure of if all the "
;" signs are needed what i writed.
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Scout Sniper Only", "1.0", "sharpe.nl");
register_clcmd("awp", "cmd_awp");
register_clcmd("sg550", "cmd_sg550");
register_clcmd(" g3sg1", "cmd_g3sg1")
}
public cmd_awp(id)
{
client_cmd(id, "scout")
return PLUGIN_HANDLED;
}
public cmd_sg550(id)
{
client_cmd(id, "scout")
return PLUGIN_HANDLED;
}
public cmd_ g3sg1(id)
{
client_cmd(id, "scout")
return PLUGIN_HANDLED;
}
__________________