The following information handles
the Admin commands broadcasting message. For example, when you 'punish' somebody
(ampunish target) what the target's message on the screen will be and what the
other clients will see on their screen.
Example
g_dsPunishGroupMsg "You're all receiving\nPunishment!"
g_dsPunishBroadMsg "%s\n is receiving\nPunishment"
g_dsPunishTargetMsg "You are a fool!\nNow you receive\nPunishment!"
When 'ampunish' is done on Everyone, all clients will see:
'You're all receiving'
'Punishment!'
When 'ampunish is done on YOU, you will see:
'You are a fool!'
'Now you receive'
'Punishment!'
When 'ampunish' is done on somebody called 'Padawan', he will see the TargetMsg
while all others will see this following message on their screen.
'Padawan'
' is receiving'
'Punishment'
The CVAR
Everything stands for something,
lets take a look at the cvar: g_dsPunishGroupMsg
'g_ds' = Shows its a new CVAR.
'Punish' = Shows the specific Admin Command, ampunish in this case.
'GroupMsg' = The message that shows when the command is performed on everyone.
Message Options:
GroupMsg = The message that shows
then the Command is performed on everyone.
BroadMsg = The message that shows to everyone except the target.
TargetMsg = The message that shows on only the target.
Definitions
%s will show the targets name on
the screen (BroadMsg Only)
\n will appear as a new line on the screen.
|