Raised This Month: $ Target: $400
 0% 

Solved If there are ct in game, apply commands


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Enes05
Junior Member
Join Date: Feb 2018
Location: Istanbul | Turkey
Old 09-04-2018 , 17:23   If there are ct in game, apply commands
Reply With Quote #1

Hello there...

I have a question

I am developing a plugin for jb.

But,
If there are commands in the game I need an implementation of ct.
How do I do this?

Please help.

I have an code:
PHP Code:
#include <cstrike> 

for (int i 1<= MaxClientsi++) { 
    if (
IsClientInGame(i) && IsPlayerAlive(i) && GetClientTeam(i) == CS_TEAM_CT) { 
        
//do stuff 
    


is it true that this code?

Last edited by Enes05; 09-05-2018 at 09:34.
Enes05 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 14:29.


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