Evie Addon Details

Watch - Add Favorite

dod_flag_captured_custom_event - Version 3.0

posted on 2008-05-17 15:31:54
by EmbouT
4
w00ts
w00t!
Requires: Tags: custom event Day of Defeat Source dod:s dods

Description

Unless you only need this event, I recommend that you use extendedevents Version 4 (coming soon) by SuperDave

Replaces original event 'dod_point_captured'.

The event_var 'cappers' is set correctly.

"dod_flag_captured"
{
"cp" "byte" // index of the point that was captured
"cpname" "string" // name of the point
"cappers" "string" // userid players separate by commas (userid1[,userid2,...])
"bomb" "bool" // was this a bomb exploding
}


Example :
event dod_flag_captured
{
es_dbgmsg 0 event_var(cp)
es_dbgmsg 0 event_var(cpname)
es_dbgmsg 0 event_var(cappers)
es_dbgmsg 0 event_var(bomb)
}


There is 2 scripts in folder :
- dod_flag_captured_custom_event.py for ESP
- es_dod_flag_captured_custom_event.txt for ESS

You can leave both in the folder whatever the version used.

___________________________________________________________________

Remplace l'évènement original 'dod_point_captured'.

L'event_var 'cappers' est correctement définie.

"dod_flag_captured"
{
"cp" "byte" // index du drapeau capturé
"cpname" "string" // nom du drapeau capturé
"cappers" "string" // userid(s) du(es) joueur(s) ayant capturé le drapeau (séparés par une virgule)
"bomb" "bool" // 0/1 si une bombe a explosée
}


Il y a 2 scripts dans le dossier :
- dod_flag_captured_custom_event.py pour ESP
- es_dod_flag_captured_custom_event.txt pour ESS

Vous pouvez laissez les deux dans le dossier quelques soit la version utilisée.


Topic français : forums.mattie.info/cs/forums/viewtopic.php?t=23276

Installation

Extract zip to your root dod folder
Add es_load dod_flag_captured_custom_event to autoexec.cfg
Restart Server

______________________________________________________________________
Décompressez l'archive dans votre dossier dod
Ajoutez es_load dod_flag_captured_custom_event au fichier autoexec.cfg
Redémarrez le serveur

Version Notes For 3.0 (Announce this update)

Updated on: 2008-06-02 06:34:30 EST
Version 3
- Improved code.
( Previous Versions )