Raised This Month: $ Target: $400
 0% 

[SNIPPET][CSS] Remove Player Stacking Limit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 05-28-2010 , 08:52   Re: [SNIPPET][CSS] Remove Player Stacking Limit
Reply With Quote #4

PHP Code:
public OnPostThink(client

    if (
GetClientTeam(client) != 3)
    {
        return;
    }
    
    new 
GroundEnt GetEntPropEnt(clientProp_Send"m_hGroundEntity"); 
     
    if ((
GroundEnt 0) && (GroundEnt <= MaxClients)) 
    { 
        
SetEntPropEnt(clientProp_Send"m_hGroundEntity"0); 
    } 

ct are team 3 and t are team 2.

only thing is if you're playing zombiemod or zombie reloaded humans on terrorist won't be able to stack until the 1st zombie spawns. you could probably stick another condition in the 1st if statement to check if the 1st zombie has spawned.

np kyle, thats why i stuck them up, i knew someone would find them useful.

Last edited by blodia; 05-28-2010 at 09:00.
blodia 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:54.


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