• 05 Juin 2026, 22:08:57


Auteur Sujet: Probleme de textdraw  (Lu 760 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne scott1

  • *
  • Gangster
  • Messages: 1440
    • Voir le profil
Probleme de textdraw
« le: 28 Avril 2010, 20:45:31 »
Bonjour, j'ai créé des textdraw

TextdrawnCadresoif = TextDrawCreate(549.000000, 108.000000, "_");
TextDrawBackgroundColor(TextdrawnCadresoif, 0x000000FF);
TextDrawFont(TextdrawnCadresoif, 1);
TextDrawLetterSize(TextdrawnCadresoif, 0.500000, 0.300000);
TextDrawColor(TextdrawnCadresoif, 0x000000FF);
TextDrawSetOutline(TextdrawnCadresoif, 1);
TextDrawSetProportional(TextdrawnCadresoif, 1);
TextDrawUseBox(TextdrawnCadresoif, 1);
TextDrawBoxColor(TextdrawnCadresoif, 0x000000FF);
TextDrawTextSize(TextdrawnCadresoif, 604.000000, 251.000000);

FondSoif = TextDrawCreate(550.000000, 109.000000, "_");
TextDrawBackgroundColor(FondSoif, 0xffffffff);
TextDrawFont(FondSoif, 1);
TextDrawLetterSize(FondSoif, 0.500000, 0.100000);
TextDrawColor(FondSoif, 0xffffffff);
TextDrawSetOutlinTextDrawe(FondSoif, 1);
TextDrawSetProportional(FondSoif, 1);
TextDrawUseBox(FondSoif, 1);
TextDrawBoxColor(FondSoif, 0xffffffff);
TextDrawTextSize(FondSoif, 603.000000, 251.000000);

J'ai mis les show et tout, et seul la 2eme textdra apparait :S

Un autre soucis, j'ai créé un texdraw dinamique avec un timer

avec ceci pour que la valeur soit differen
TextDrawTextSize(SoifBouge[i], floatadd(603.000000, floatdiv((PlayerInfo[i][pSoif]*100/180), 100.0)),0.0000000);
mais elle ne s'affiche pas :s

Que faire? Merci de votre aide.
Refait un Game mode a partir d'une page blanche



Mes partages:

Systeme de Radio avec Frequence Création

Ajouter des véhicule dans le LARP - Godfather Tuto

Anti Cheat "JunkBuster" traduit en FR Traduction

LARP Traduit FR, V0.3 Traduction

Hors ligne scott1

  • *
  • Gangster
  • Messages: 1440
    • Voir le profil
Re : Probleme de textdraw
« Réponse #1 le: 29 Avril 2010, 01:09:07 »
non car ça fait un cadre avec un bor.
TextDrawShowForPlayer(playerid,TextdrawnCadresoif);// Textdrawn besoin
TextDrawShowForPlayer(playerid,FondSoif); // Texte besoin

Dans le OnePlayerConnect

Merci
Refait un Game mode a partir d'une page blanche



Mes partages:

Systeme de Radio avec Frequence Création

Ajouter des véhicule dans le LARP - Godfather Tuto

Anti Cheat "JunkBuster" traduit en FR Traduction

LARP Traduit FR, V0.3 Traduction