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

All teams are enemies for css


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Saggyen
Junior Member
Join Date: Dec 2013
Old 05-04-2019 , 14:57   All teams are enemies for css
Reply With Quote #1

I need plugin which all teams will be in one color
T = Red and ct = red, Thank You. All teams are enemies for css
Saggyen is offline
Pilo
AlliedModders Donor
Join Date: Jan 2019
Location: Israel
Old 05-04-2019 , 15:14   Re: All teams are enemies for css
Reply With Quote #2

First, wrong forum, next time post at https://forums.alliedmods.net/forumdisplay.php?f=60.
Second you can try that
PHP Code:
#include <sourcemod>
#include <cstrike>

public void OnPluginStart()
{
    
HookEvent("player_spawn"Event_PlayerSpawn);
}

public 
Action Event_PlayerSpawn(Event event, const char[] namebool dB)
{
    
int client GetClientOfUserId(event.GetInt("userid"));
    if (
GetClientTeam(client) == CS_TEAM_CT)
    {
        
SetEntityRenderColor(client25500255);
    }

__________________

Taking Private(PAID) Plugins In PM
Feel free to Donate with PayPal
Feel free to message me in Discord Pilo#8253
Total donated : 25$
Pilo is offline
Saggyen
Junior Member
Join Date: Dec 2013
Old 05-05-2019 , 11:37   Re: All teams are enemies for css
Reply With Quote #3

Tell me more how i install this plugin
Saggyen is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 05-06-2019 , 08:42   Re: All teams are enemies for css
Reply With Quote #4

You need to compile this plugins, try to search how to compile/create one and you will understand.

Briefly, you put this text into an notepad and save the files as <plugin_name>.sp, and drag this file to the "spcomp.exe".

Then you will got the attachment below and paste it into "\addons\sourcemod\plugins\" folder.
Attached Files
File Type: sp Get Plugin or Get Source (cs_render_color_team.sp - 153 views - 1.0 KB)
__________________
Marttt 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 22:54.


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