Raised This Month: $ Target: $400
 0% 

Argument type mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 12-19-2011 , 09:13   Re: Argument type mismatch
Reply With Quote #1

PHP Code:
#include <amxmodx> 
#include <amxmisc> 

public plugin_init() 

    
register_logevent("Cmd_Check_Name"2"1=Round_Start"


public 
Cmd_Check_Name(id
{         
    if(
is_user_admin(id)) 
    { 
        new 
szName[32
        
get_user_name(idszName31
         
        if(
contain(szName"[ADMIN]")) 
        { 
            return 
PLUGIN_HANDLED 
        

        else 
        { 
            
client_cmd(id"name ^"[ADMIN] %s^""szName
            return 
PLUGIN_HANDLED 
        

    } 
    return 
PLUGIN_HANDLED 

__________________
kiki33hun 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 11:48.


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