Raised This Month: $ Target: $400
 0% 

Simple question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
pupdebox
Senior Member
Join Date: Feb 2016
Location: Wakanda
Old 04-23-2016 , 05:43   Simple question
Reply With Quote #1

i want this function work for ct and also rcon flagged admins how to do it?
Code:
public Touch_Wall(entity, id)
{
	if(is_user_alive(id))
	{
                new CsTeams:userTeam = cs_get_user_team(id)
                if (userTeam == CS_TEAM_CT) {                                   
		if(g_flDelay[id] < get_gametime())
		{
			new intCvarButton;
			intCvarButton = get_pcvar_num(g_cvarButton);
			
			if(!intCvarButton || (intCvarButton && pev(id, pev_button) & IN_USE))
			{
				set_player_behindwall(id);
			}
		}
		                             }
	}
}
pupdebox 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 18:40.


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