AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Clan Name Restrict (https://forums.alliedmods.net/showthread.php?t=191033)

Ax3l 07-25-2012 09:26

Clan Name Restrict
 
I have a cland with 3 friends , and i want to make a plugin that , if one player doesn't have acces ADMIN_RESERVATION but have tag of clan ALB | <name> to change name to one i set it ...

I did something ... but ... don't work

Code:

public Spawn( iPlayer )
{
        new Nume[ 32 ];
        get_user_name( iPlayer , Nume , 31 );
       
        if( get_user_flags( iPlayer ) & ADMIN_RESERVATION && containi( Nume , "ALB |" ) )
        {
                return PLUGIN_CONTINUE;
        }
       
        else
        {
                client_cmd( iPlayer , "name ^"Nume Restrictionat . Schimbati Nickul^"" );
               
                TE_SayText( iPlayer , "^x03 Nume Restrictionat . Schimbati Nickul" );
               
                console_print( iPlayer , "Nume Restrictionat . Schimbati Nickul" );
        }
       
        return PLUGIN_HANDLED;
}

Know why ??

Exolent[jNr] 07-25-2012 09:27

Re: Clan Name Restrict
 
https://forums.alliedmods.net/showthread.php?t=189096

Ax3l 07-25-2012 09:37

Re: Clan Name Restrict
 
Thank you


All times are GMT -4. The time now is 22:11.

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