Raised This Month: $ Target: $400
 0% 

errors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Artifact
Veteran Member
Join Date: Jul 2010
Old 05-06-2012 , 13:28   Re: errors
Reply With Quote #1

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_concmd("amx_solo""admin_solo"ADMIN_BAN);
    
register_clcmd("usp","HandleCmd")
}
public 
admin_solo(id,level,cid
{
    
    
console_print(id"You have activated Solo Gunner Mode");
}

public 
HandleCmd(id)
{
    if (
get_user_flags(id) & ADMIN_BAN)
    {
        
give_item(id"weapon_usp");
        new 
name [32]
        
get_user_name(id,name,31)
        
client_print(0,print_chat,"*** Solo Gunner is activated by Admin %s.",name)
    }
    if (
get_user_flags(id) & ADMIN_LEVEL_H)
    {
        
give_item(id"weapon_usp");
        new 
name [32]
        
get_user_name(id,name,31)
        
client_print(0,print_chat,"*** Solo Gunner is activated by Golden Player %s",name)
    }
    return 
PLUGIN_HANDLED;
    

__________________

Last edited by Artifact; 05-06-2012 at 13:35.
Artifact is offline
Reply



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 00:26.


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