View Single Post
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 03-11-2020 , 17:47   Re: [CS:GO] GetClientTeam() returns incosistent numbers
Reply With Quote #2

PHP Code:
if(GetClientTeam(client) == || GetClientTeam(client) == 2) { 
Shouldn't this be 2 and 3 (T and CT)?

And maybe you want GetTeamClientCount to only count players on T and CT.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 03-11-2020 at 17:48.
DJ Tsunami is offline