Raised This Month: $ Target: $400
 0% 

Clan Name Restrict


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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