GTAOnline.net

San Andreas Multiplayer (sa:mp) => Problèmes et bugs => Discussion démarrée par: Bebert le 04 Août 2013, 22:23:59

Titre: Besoin d'aide pour une fenêtre ..
Posté par: Bebert le 04 Août 2013, 22:23:59
Salut à tous donc voilà, je voudrais rajouter une fenêtre à annonce comme ça sur mon serveur mais je ne connais le nom de cette box ..
La box en bas à gauche qui indique une annonce rapide :
 (http://imageshack.us/photo/my-images/341/samp317g.png/)

Merci
Titre: Re : Besoin d'aide pour une fenêtre ..
Posté par: Gilux le 04 Août 2013, 22:32:09
Salut, c'est des box qui entourent des TextDraw, tu peux utiliser la fonction TextDrawUseBox (http://wiki.sa-mp.com/wiki/TextDrawUseBox) ou sinon tu peux utiliser un FS pour créer les TextDraw en jeu, c'est facile à trouver sur le forum SA:MP.
++
Titre: Re : Besoin d'aide pour une fenêtre ..
Posté par: Bebert le 05 Août 2013, 22:33:38
(http://nsa34.casimages.com/img/2013/06/10/130610091408122820.png)

Voici Le style d'image que je veux refaire .. Mais pour indiquer que le conducteur remplie son véhicule à la station essence..
Titre: Re : Besoin d'aide pour une fenêtre ..
Posté par: ANDREX le 06 Août 2013, 02:24:21
Voici un éditeur de TextDraw InGame: http://forum.sa-mp.com/showthread.php?t=376758 (http://forum.sa-mp.com/showthread.php?t=376758)
Par la suite tu peux formaté ton message si tu veux récupérer quelques informations et l'afficher grâce à (Player)TextDrawSetString.
http://wiki.sa-mp.com/wiki/PlayerTextDrawSetString (http://wiki.sa-mp.com/wiki/PlayerTextDrawSetString)
http://wiki.sa-mp.com/wiki/TextDrawSetString (http://wiki.sa-mp.com/wiki/TextDrawSetString)