Addon Details

Watch - Add Favorite


Does this version work for you?
4
w00ts
w00t!2

dod_flag_captured_custom_event - Version 3.0

posted on 2008-05-17 15:31:54
by EmbouT


Tags: dod:s dods

Description

[size=15][color=indigo][b]Unless you only need this event, I recommend that you use [url=http://addons.eventscripts.com/addons/view/extendedevents]extendedevents[/url] Version 4 (coming soon) by [url=http://addons.eventscripts.com/addons/user/11091]SuperDave[/url][/b][/color][/size] Replaces original event '[b]dod_point_captured[/b]'. The event_var 'cappers' is set correctly. [code]"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 }[/code] Example : [syntax="es"]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) }[/syntax] 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 '[b]dod_point_captured'[/b]. L'event_var 'cappers' est correctement définie. [code]"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 }[/code] 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 : [url]http://forums.mattie.info/cs/forums/viewtopic.php?t=23276[/url]

Installation

[b]Extract zip to your root dod folder[/b] [b]Add es_load dod_flag_captured_custom_event to autoexec.cfg[/b] [b]Restart Server[/b] ______________________________________________________________________ [b]Décompressez l'archive dans votre dossier dod[/b] [b]Ajoutez es_load dod_flag_captured_custom_event au fichier autoexec.cfg[/b] [b]Redémarrez le serveur[/b]

Version Notes For 3.0

Updated on: 2008-06-02 06:34:30 EST by EmbouT (View Zip Contents)
Version 3 - Improved code.

( Previous Versions )