Raised This Month: $51 Target: $400
 12% 

Solved Revive Chance plugin


Post New Thread Reply   
 
Thread Tools Display Modes
AePT
Member
Join Date: Jan 2016
Old 03-08-2023 , 14:34   Re: Revive Chance plugin
Reply With Quote #11

Quote:
Originally Posted by r14170 View Post
Im struggling to undestand how does this line work exactly:

Code:
    if(!client || GetClientTeam(client) < CS_TEAM_T)    // neither server nor spectators are allowed
        return Plugin_Handled;
Does this mean that CS_TEAM_NONE and CS_TEAM_SPECTATOR are ignored?
Yup

If client team is minor to 2 means that is CS_TEAM_SPECTATOR or CS_TEAM_NONE

You can see that here: https://github.com/alliedmodders/sou...strike.inc#L40
AePT is offline
r14170
Veteran Member
Join Date: Dec 2009
Old 03-08-2023 , 20:08   Re: Revive Chance plugin
Reply With Quote #12

Thanks guys!
r14170 is offline
Reply



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 13:13.


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