[Ajuda] textdraw = rep+
#1

man olha essas textdraw so mostra pra 1 player n para todos :S
e tipo eu tentei tirar o PlayerTextDraw e por apenas TextDraw em todos mais deu mais de 24 warnings e 11 erros , n consigo colocar o codigo dos erros aqui porque tem mais de 11 mil caracters
poderia me ajudar ?
PHP код:
new PlayerText:HUD7[MAX_PLAYERS];
new 
PlayerText:HUD8[MAX_PLAYERS];
new 
PlayerText:HUD9[MAX_PLAYERS]; 
PHP код:
    //========================================
    // Criar PlayerTextDraw
    
HUD7[playerid] = CreatePlayerTextDraw(playerid511.48590061.176670"_");
    
PlayerTextDrawLetterSize(playeridHUD7[playerid], 0.2351991.144533);
    
PlayerTextDrawAlignment(playeridHUD7[playerid], 1);
    
PlayerTextDrawColor(playeridHUD7[playerid], -1);
    
PlayerTextDrawSetShadow(playeridHUD7[playerid], 0);
    
PlayerTextDrawSetOutline(playeridHUD7[playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridHUD7[playerid], 255);
    
PlayerTextDrawFont(playeridHUD7[playerid], 2);
    
PlayerTextDrawSetProportional(playeridHUD7[playerid], 1);
    
PlayerTextDrawSetShadow(playeridHUD7[playerid], 0);
    
HUD8[playerid] = CreatePlayerTextDraw(playerid527.85302773.310012"_");
    
PlayerTextDrawLetterSize(playeridHUD8[playerid], 0.2351991.144533);
    
PlayerTextDrawAlignment(playeridHUD8[playerid], 1);
    
PlayerTextDrawColor(playeridHUD8[playerid], -1);
    
PlayerTextDrawSetShadow(playeridHUD8[playerid], 0);
    
PlayerTextDrawSetOutline(playeridHUD8[playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridHUD8[playerid], 255);
    
PlayerTextDrawFont(playeridHUD8[playerid], 2);
    
PlayerTextDrawSetProportional(playeridHUD8[playerid], 1);
    
PlayerTextDrawSetShadow(playeridHUD8[playerid], 0);
    
HUD9[playerid] = CreatePlayerTextDraw(playerid508.12643485.256683"_");
    
PlayerTextDrawLetterSize(playeridHUD9[playerid], 0.2351991.144533);
    
PlayerTextDrawAlignment(playeridHUD9[playerid], 1);
    
PlayerTextDrawColor(playeridHUD9[playerid], -1);
    
PlayerTextDrawSetShadow(playeridHUD9[playerid], 0);
    
PlayerTextDrawSetOutline(playeridHUD9[playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridHUD9[playerid], 255);
    
PlayerTextDrawFont(playeridHUD9[playerid], 2);
    
PlayerTextDrawSetProportional(playeridHUD9[playerid], 1);
    
PlayerTextDrawSetShadow(playeridHUD9[playerid], 0);
    
//======================================== 
onplayerdeath
PHP код:
    PlayerTextDrawHide(playeridHUD7[playerid]); // esconder os HUDS quando morrer
    
PlayerTextDrawHide(playeridHUD8[playerid]); // esconder os HUDS quando morrer
    
PlayerTextDrawHide(playeridHUD9[playerid]); // esconder os HUDS quando morrer
    
KillTimer(Status(playerid)); // Parar de chamar a public "Status"
    
Tempo[playerid] = 0// setar o tempo para 0 novamente 
PHP код:
forward Status(playerid);
public 
Status(playerid)
{
    new 
String[128], Float:Health;
    
GetPlayerHealth(playeridHealth);
    
//
/*
    format(String, sizeof(String), "alive_time: ~w~%d", Tempo[playerid]);
    PlayerTextDrawSetString(playerid, HUD7[playerid], String);
*/
    
format(Stringsizeof(String), "alive_time: ~w~%d:%d.",Tempo[playerid]);
    
PlayerTextDrawSetString(playeridHUD7[playerid], String);
    
//
    
format(Stringsizeof(String), "blood: ~w~%0.0f",Health);
    
PlayerTextDrawSetString(playeridHUD8[playerid], String);
    
//
    
format(Stringsizeof(String), "name:_~w~%s",Nome(playerid));
    
PlayerTextDrawSetString(playeridHUD9[playerid], String);
    
//
    
Tempo[playerid]++;
    return 
1;

Reply


Messages In This Thread
textdraw = rep+ - by zPawnu - 01.09.2015, 20:29
Re: textdraw = rep+ - by GustavoSouza - 01.09.2015, 20:35
Re: textdraw = rep+ - by Dayvison_ - 01.09.2015, 20:36
Re: textdraw = rep+ - by zPawnu - 01.09.2015, 20:43
Re: textdraw = rep+ - by Locky_ - 01.09.2015, 21:07
Re: textdraw = rep+ - by zPawnu - 01.09.2015, 21:14
Re: textdraw = rep+ - by Locky_ - 01.09.2015, 22:33
Re: textdraw = rep+ - by zPawnu - 01.09.2015, 22:45
Re: textdraw = rep+ - by Locky_ - 01.09.2015, 23:01
Re: textdraw = rep+ - by [BOPE]Seu._.Madruga - 02.09.2015, 00:55

Forum Jump:


Users browsing this thread: 1 Guest(s)