Музыка при входе на сервер

Простенькая статья о том, как вписать музыка при входе на сервер в главный мод!

Приступим:
1)
Ищем // Plugin Version
Добавляем ниже:
#define CLIENT_CONNECT_SOUND "sound/путь/loading.mp3"
2)
Ищем g_zclass_new = ArrayCreate(1, 1)
Добавляем ниже:
engfunc(EngFunc_PrecacheGeneric, CLIENT_CONNECT_SOUND)
3)
Добавляем это в любое свободное место:

public client_connect( id )
{
if( is_user_bot( id ) || is_user_hltv( id ) )
return;

client_cmd(id, "mp3 play %s", CLIENT_CONNECT_SOUND)
}

Сразу хочу попросить прощение, за столь криворукое объяснение.
Также за помощью обращаться в https://vk.com/gadd2014
-
Если эта статья была полезна, поставь LIKE!

By BuB9neC

???

Hello, Our administration publishes only cannon content, put like under the post below and write the top comment, we are preparing the material just for you, Darling Гость.

Comments 7
  1. Rex Gaming
    Thank you i was locking to do something like that
    • 11 July 2018 23:37
Users belonging to group Guests cannot add comments to this article.
Base for Your Build
Information

Welcome to TB-TEAM.COM!

To become a full-fledged user of our portal, you need to register.
Register
Create your own account!

Register Now
Log In
Already registered? Go ahead and log in!

Log In