Raised This Month: $218 Target: $400

[CSGO] If VIP join play sound by steam id

Post New Thread Reply   
Thread Tools Display Modes
Author Message
New Member
Join Date: Jul 2019
Old 07-31-2019 , 12:06   [CSGO] If VIP join play sound by steam id
Reply With Quote #1

I need help with a plugin. When a specific steam id is connected, a music plays. Each steam id has a different music

I used this but it didn't work:

#include <sourcemod>
#include <emitsoundany>

char sz_Auth[MAXPLAYERS + 1][32];

public void OnMapStart()
PrecacheSound("join_sounds/Sephiroth_Nightmares.mp3", true);

public void OnClientPostAdminCheck(int client)
GetClientAuthId(client, AuthId_Steam2, sz_Auth[client], sizeof(sz_Auth));
if(StrEqual(sz_Auth[client], "STEAM_0:0:61458413"))
PrintToChatAll("\x04%N\x01 ingreso al servidor", client);
Kf98 is offline

Thread Tools
Display Modes

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 18:47.

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