Thread: VIP Announcer
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Exolent[jNr] (178)
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 11-25-2008 , 15:39   VIP Announcer
Reply With Quote #1

VIP Announcer
0.1

Description:
* Inspired from AdminMod
- Some information at vip events such as:
  • spawned as vip
  • killed as vip
  • kill the vip
  • escaped as vip
- these are saved or not using nvault
- $ bonus at events
- the vip can have a tag in the name

Modules:
Cstrike & nVault

Cvars:
vipannouncer 1/0 -- enable/disable plugin (default 1)
vipannouncer_escapebonus -- money gived to player who escaped as vip (default 800)
vipannouncer_killbonus -- money gived to player who killed the vip (default 300)
vipannouncer_spawnbonus -- money gived to player who spawned as vip (default 600)
Changes:
PHP Code:
#define x_pos        0.05
#define y_pos        0.35  // position for hudmessage
new const g_ColorsColors ] = { 45215255 };  // color for hudmessage
new const tag[] = "[VIP]"// tag added to player's name

new const g_IsVip[] =         "%s is the VIP";
new const 
g_YouAreTheVip[] =     "You are the VIP!";
new const 
g_HasKillTheVip[] =     "%s has killed the VIP:^n%s";
new const 
g_YouHaveBeenKilled[] = "You have been killed by %s. HP: %i. Armor: %i"// some messages in chat

/* ----------------------------- */

// comment this if you don't want to save vip stats -- nVault module
#define     SAVE
// comment this if you want to disable $ bonus -- Cstrike module
#define     BONUS

// comment this if you don't what status icon
#define        ICON 
Screenshots:
[IMG]http://img143.**************/img143/6306/87062355wj0.th.jpg[/IMG] [IMG]http://img143.**************/img143/7551/50064758dj0.th.jpg[/IMG]
Attached Files
File Type: sma Get Plugin or Get Source (vip_announcer.sma - 6823 views - 9.4 KB)
__________________

anakin_cstrike is offline