Raised This Month: $ Target: $400
 0% 

Clan Name Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ax3l
Member
Join Date: Nov 2009
Old 07-25-2012 , 09:26   Clan Name Restrict
Reply With Quote #1

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 ??
__________________
Ax3l is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-25-2012 , 09:27   Re: Clan Name Restrict
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=189096
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Ax3l
Member
Join Date: Nov 2009
Old 07-25-2012 , 09:37   Re: Clan Name Restrict
Reply With Quote #3

Thank you
__________________
Ax3l 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 22:11.


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