[Ajuda] Problema com Textdraw
#1

Galera fiz um code aqui mais quando da spawn nгo aparece a textdraw

PHP код:
    format(stringsizeof(string), "Kills: %d",PlayerDados[playerid][Matou]);
    
TextDrawSetString(BarraConfig0string);
    
TextDrawShowForPlayer(playeridBarraConfig0);
    
//
    
format(stringsizeof(string), "Mortes: %d",PlayerDados[playerid][Morreu]);
    
TextDrawSetString(BarraConfig1string);
    
TextDrawShowForPlayer(playeridBarraConfig1);
    
//
    
format(stringsizeof(string), "Ping: %d",GetPlayerPing(playerid));
    
TextDrawSetString(BarraConfig2string);
    
TextDrawShowForPlayer(playeridBarraConfig2); 
Reply
#2

Estб colocando essa funзгo em qual public ?
Reply
#3

Justamente, a funзгo de mostrar a textdraw tem que esta em OnPlayerSpawn, seria bom mostrar como criou a textdraw tbm, poderia ser ate uma cor com transparencia 0, por exemplo: 0xffffff00.
Reply
#4

Quote:
Originally Posted by DelK
Посмотреть сообщение
Estб colocando essa funзгo em qual public ?
OnPlayerSpawn
Reply
#5

Quote:
Originally Posted by Andinho
Посмотреть сообщение
Justamente, a funзгo de mostrar a textdraw tem que esta em OnPlayerSpawn, seria bom mostrar como criou a textdraw tbm, poderia ser ate uma cor com transparencia 0, por exemplo: 0xffffff00.
Eu que fiz as text, ta transparente nгo
Reply
#6

Mostra o cуdigo de declaraзгo e de criaзгo do TextDraw
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)