View Single Post
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 01-07-2011 , 15:59   Re: [CSS] SM_Hosties (v1.11)
Reply With Quote #590

already I'm forgetful..

this is the S4SRebelAction function, I think I also had to add some lines in the translations file because I forgot to take out the MESS part.

PHP Code:
S4SRebelAction(client)
{
                    
// take varying action against the perp based on convars
                    
if (s4s_doubleshot_action == 2)
                    {
                        
ForcePlayerSuicide(client);
                        
PrintToChatAll(MESS"S4S Rebel Slayed"client);
                    }
                    else
                    {
                        
// strip weapons from offender
                        
StripAllWeapons(client);
                        
                        
PrintToChatAll(MESS"S4S Rebel Aborted"client);

                        if (
GetConVarInt(sm_hosties_lr_beacon) == 1)
                        {
                            
KillLRBeacons();
                        }

                        
LRinprogress false;
                        
S4Slastshot 0;                
                    }

databomb is offline