Raised This Month: $ Target: $400
 0% 

Scout Sniper Only


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Maurice
Senior Member
Join Date: Nov 2006
Location: Netherlands
Old 11-15-2007 , 00:33   Scout Sniper Only
Reply With Quote #1

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; 
}
__________________
Luck? Luck is only one feeling of amazement concerning a seemingly incidental circumstance which one himself must create.

Last edited by Maurice; 11-15-2007 at 00:37.
Maurice 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 01:19.


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