• 04 Juin 2026, 05:18:05


Auteur Sujet: Beug de texdraw  (Lu 755 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne scott1

  • *
  • Gangster
  • Messages: 1440
    • Voir le profil
Beug de texdraw
« le: 24 Mai 2010, 22:18:45 »
Bonsoir, j'ai un soucis avec ceci:


for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && Inf[i] == 1 && GetPlayerState(i) == PLAYER_STATE_ONFOOT && INFO2[i] == 0)
{
new tmp[265]; new heure, minute, seconde; new argent; new niveau; new IP[MAX_PLAYERS]; new Ping;
gettime(heure, minute, seconde)
argent = GetPlayerMoney(i);
niveau = GetPlayerScore(i);
Ping = GetPlayerPing(i);
GetPlayerIp(i, IP, sizeof(IP));
if(BilgiGosterge[i] == true)
{
    TextDrawHideForPlayer(i, Text:Contournoircarrerstats);
    TextDrawHideForPlayer(i, Text:Cadreblanccarrerstats);
TextDrawHideForPlayer(i, Text:Fondcarrerstats);
TextDrawDestroy(Bilgi[i]);
}
if(PlayerInfo[i][pWatch] == 1)
{
format(tmp, sizeof(tmp), "~b~Heure: ~w~%d:%d:%d~n~~b~Argent: ~w~%d~g~$~n~~b~Niveau: ~w~%d~n~~b~IP: ~w~%s~n~~b~Playerid: ~w~%d~n~~b~Ping: ~w~%d~n~~g~%s",heure, minute, seconde, argent,niveau,IP,i,Ping,SITE);
}
else
{
format(tmp, sizeof(tmp), "~b~Heure: ~r~Pas de montre~n~~b~Argent: ~w~%d~g~$~n~~b~Niveau: ~w~%d~n~~b~IP: ~w~%s~n~~b~Playerid: ~w~%d~n~~b~Ping: ~w~%d~n~~g~%s",argent,niveau,IP,i,Ping,SITE);
}
            Bilgi[i] = TextDrawCreate(485.000000,355.000000,tmp);
            TextDrawAlignment(Bilgi[i],0);
TextDrawBackgroundColor(Bilgi[i],0x000000ff);
TextDrawFont(Bilgi[i],1);
TextDrawLetterSize(Bilgi[i],0.299999,1.000000);
TextDrawColor(Bilgi[i],0x00ffffff);
TextDrawSetProportional(Bilgi[i],1);
TextDrawSetShadow(Bilgi[i],1);
  TextDrawShowForPlayer(i, Bilgi[i]);
  TextDrawShowForPlayer(i, Text:Contournoircarrerstats);
    TextDrawShowForPlayer(i, Text:Cadreblanccarrerstats);
    TextDrawShowForPlayer(i, Text:Fondcarrerstats);
            BilgiGosterge[i] = true;
}
else
{
    if(BilgiGosterge[i] == true)
{
    TextDrawHideForPlayer(i, Text:Contournoircarrerstats);
    TextDrawHideForPlayer(i, Text:Cadreblanccarrerstats);
TextDrawHideForPlayer(i, Text:Fondcarrerstats);
TextDrawDestroy(Bilgi[i]);
}
}
}

Des fois seul les fond s'affiche pas les texte :s

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

Hors ligne scott1

  • *
  • Gangster
  • Messages: 1440
    • Voir le profil
Re : Beug de texdraw
« Réponse #1 le: 30 Mai 2010, 16:05:43 »
up
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