Jump to content

1 Screenshot

About This File

Descriere:

 

Notificări conexiune pentru admin și vip cu sunete sau mesaje.
Toate sunetele plasate in "addons / sourcemod / configs / drapi / join_sounds.cfg" vor fi descărcate automat. Puteți activa / dezactiva toate sunetele și mesajele pentru fiecare flag. De asemenea, playerul poate activa / dezactiva toate sunetele și mesajul pentru fiecare flag prin tastarea în chat !Js .

 

Cvars:

Quote

"drapi_join_sounds_join_admin_tchat"     "1" - "Enable/Disable Admin message join"
"drapi_join_sounds_join_vip_tchat"     "1" - "Enable/Disable Vip message join"
"drapi_join_sounds_join_admin_sound"     "1" - "Enable/Disable Admin sound join"
"drapi_join_sounds_join_vip_sound"     "1" - "Enable/Disable Admin sound join"
    
"drapi_join_sounds_leave_admin_tchat"     "1" - "Enable/Disable Admin message leave"
"drapi_join_sounds_leave_vip_tchat"     "1" - "Enable/Disable Vip message leave"
"drapi_join_sounds_leave_admin_sound"     "1" - "Enable/Disable Admin sound leave"
"drapi_join_sounds_leave_vip_sound"     "1" - "Enable/Disable Vip sound leave"
 

Code:

Quote
"Sounds"
{
	"Sounds"
	{
        	"AdminJoin"
		{
			"1" 				"join_sounds/admin_join_dubstep.mp3"
			"2" 				"join_sounds/admin_join_scooter.mp3"
			"3" 				"join_sounds/admin_join_starwars.mp3"
		}

        	"AdminLeave" 									
		{
			"1" 				"join_sounds/admin_leave_announce.mp3" 
		}

        	"VipJoin"
		{
			"1" 				"join_sounds/vip_join_samba.mp3"
		}

        	"VipLeave"
		{
			"1" 				"join_sounds/vip_leave_baby.mp3"
		}
	}
}

Puneți melodiile în secțiunea dorită, dacă există mai mult de 1 cântec, va alege una aleatorie.
Toate sunetele vor fi descărcate automat.

 

Melodie mp3:

 

Pentru a reda un .mp3 fără eroare, trebuie să aiba urmatoarele conditii:
Sample rate la 44100 hz
bitrate la 128kbps
Quality resampling la 128-point sinc

 

Flags:

- PHPCODE:

Quote

/***********************************************************/
/******************** CHECK IF IS A VIP ********************/
/***********************************************************/
stock bool IsVip(int client)
{
    if(GetUserFlagBits(client) & ADMFLAG_CUSTOM1 
    || GetUserFlagBits(client) & ADMFLAG_CUSTOM2 
    || GetUserFlagBits(client) & ADMFLAG_CUSTOM3 
    || GetUserFlagBits(client) & ADMFLAG_CUSTOM4 
    || GetUserFlagBits(client) & ADMFLAG_CUSTOM5 
    || GetUserFlagBits(client) & ADMFLAG_CUSTOM6)
    {
        return true;
    }
    return false;
}

/***********************************************************/
/****************** CHECK IF IS AN ADMIN *******************/
/***********************************************************/
stock bool IsAdminEx(int client)
{
    if(GetUserFlagBits(client) & ADMFLAG_CHANGEMAP 
    /*|| GetUserFlagBits(client) & ADMFLAG_RESERVATION*/
    || GetUserFlagBits(client) & ADMFLAG_GENERIC
    || GetUserFlagBits(client) & ADMFLAG_KICK
    || GetUserFlagBits(client) & ADMFLAG_BAN
    || GetUserFlagBits(client) & ADMFLAG_UNBAN
    || GetUserFlagBits(client) & ADMFLAG_SLAY
    || GetUserFlagBits(client) & ADMFLAG_CHANGEMAP
    || GetUserFlagBits(client) & ADMFLAG_CONVARS
    || GetUserFlagBits(client) & ADMFLAG_CONFIG
    || GetUserFlagBits(client) & ADMFLAG_CHAT
    || GetUserFlagBits(client) & ADMFLAG_VOTE
    || GetUserFlagBits(client) & ADMFLAG_PASSWORD
    || GetUserFlagBits(client) & ADMFLAG_RCON
    || GetUserFlagBits(client) & ADMFLAG_CHEATS
    || GetUserFlagBits(client) & ADMFLAG_ROOT)
    {
        return true;
    }
    return false;
}  

 


User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.



Despre noi

Suntem o comunitate aparuta in anul 2010 ce are ca scop sa prezinte si sa aduca in calculatoarele voastre socializare, competitie, public si foarte multa actiune. Alatura-te celor 200.000 de membri iar impreuna vom dezvolta cat mai mult termenul de 'comunitate'

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.