Jump to content
View in the app

A better way to browse. Learn more.

Forum Supreme-Elite

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Salut, :whistling:

 

J'aimerai avoir une liste des code

 

\x01 : jaune
\x04 : vert foncé 
\x03 : vert clair

 

La suite je sais pas je trouve rien sur sourcemod

 

J'aimerai savoir le code de teamcolor.

 

 

Merci :thumbsup:

Edited by DaRk

vu que je m'y connais pas je te donne ce que j'ai trouvé vite fait sur google :

 

 

#define YELLOW 0x01

#

#define TEAMCOLOR 0x02

#

#define LIGHTGREEN 0x03

#

#define GREEN 0x04

 

sa aussi :

 

How to color your messages?

Use \x01, \x02 ... \x08 to color your message, example:

 

PrintToChatAll ("\x01 1 .. \x02 2 .. \x03 3 .. \x04 4 .. \x05 5 .. \x06 6 .. \x07 7 .. \x08 8 .. \x09 9 ..");

Example output (L4D):

http://i43.tinypic.com/2dvj1c5.png

You must find out wich color you get, because this is different for nearly every mod.

 

\x01 normal color

\x03 is the team depend color.

Also see this (http://forums.alliedmods.net/showpost.php?p=795808&postcount=8).

 

I hope you dont mind for posting here.

  • Author

Finalement j'ai trouvé xD

 

\x01 : jaune
\x04 : vert foncé 
\x03 : vert clair
\x05 : vert olive

 

Normalement c'est tout. Mais bon enfaite pour le teamcolor sa depend du codage du plugin, moi c'était juste pour refaire un peut le script du hlstatx CE pour l'améliorer et le traduire en francais

Tu peux utiliser les couleur de team (rouge et bleu) facilement avec ce petit inc : colors

Tu rajoutes un C devant les PrintToChat et PrintToChatAll pour utiliser les fonctions qui sont fournies, et pour mettre en couleurs tu utilises des tags (genre {green}, {lightgreen}, {red}, {blue}, {default}, ..).

  • Author

Tien le fichier :

 

J'ai juste commencer a modifié les message au moment de la connection

 

ligne ; 471 a 495

 

Sinon pour les message ou il recoit les point seul le killer et non celui qui est tué est en couleur j'aurai voulus changé sa

 

ligne : 1139 et 1141

 

Apres sa continue les ligne au moment de perdre les point pour teamkill

 

ligne : 1269

 

Si ta moyen de m'aidé serai bien j'ai juste mis la couleur olive a la place de teamcolor pour les message de connection pour le moment .

 

Merci :thumbsup:

 

Lien : http://demo.ovh.com/fr/1c687be29032173ab03b4ff8bb8be3db/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.