Raised This Month: $ Target: $400
 0% 

[ Help ] user banct


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-18-2018 , 15:08   [ Help ] user banct
Reply With Quote #1

EDIT: problem with native player still can transfer to CT
Quote:
native jb_is_user_banned();
Code:
	new NameSz[ 32 ], player;	
		
		
		case CT_TRANSFER:
		{
			if ( !( get_user_flags( player ) & ADMIN_IMMUNITY ) || player == client )
			{
				if ( jb_is_user_banned( player ))
				{
					ColorChat( player, "debug: Testing a player");
					return PLUGIN_HANDLED;
				}
				
				fm_set_user_team( player, FM_TEAM_CT );
				fm_DispatchSpawn( player );
			
				ColorChat( 0, "%s ^3%s^1 has used^4 Counter-Terrorist Transfer^1 command.", Gisha[AdminMyAccess[client]],NameSz)
			}

Last edited by Fuck For Fun; 06-19-2018 at 04:47.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
 



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 12:17.


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