[Ajuda] Textdraws setstring
#3

Estб errado: PlayerTextDrawShow(playerid, INFO[2][playerid]);
Use: PlayerTextDrawShow(playerid, PlayerText:INFO[2][playerid]);


Tenta ae

PHP код:
// TOPO DA GM
forward info(playerid);
// OnGameModeInit
SetTimer("info",1000,1);
// OnPlayerConnect
        
INFO[2][playerid] = CreatePlayerTextDraw(playerid,510.000000360.000000"--");
        
PlayerTextDrawBackgroundColor(playerid,INFO[2][playerid], 255);
        
PlayerTextDrawFont(playerid,INFO[2][playerid], 1);
        
PlayerTextDrawLetterSize(playerid,INFO[2][playerid], 0.5000001.000000);
        
PlayerTextDrawColor(playerid,INFO[2][playerid], -1);
        
PlayerTextDrawSetOutline(playerid,INFO[2][playerid], 0);
        
PlayerTextDrawSetProportional(playerid,INFO[2][playerid], 1);
        
PlayerTextDrawSetShadow(playerid,INFO[2][playerid], 1);
        
PlayerTextDrawSetSelectable(playerid,INFO[2][playerid], 0);
// OnPlayerSpawn
         
PlayerTextDrawShow(playeridPlayerText:INFO[2][playerid]);
// Public Criada
public info(playerid)
{
    new 
str[128];
    
format(strsizeof(str), "~b~Matou:~w~ %s",DOF2::GetInt(String"Matou"));
    
PlayerTextDrawSetString(playeridINFO[2][playerid], str);

Reply


Messages In This Thread
Textdraws setstring - by JuniorTheDM - 21.07.2015, 20:47
Re: Textdraws setstring - by JPedro - 21.07.2015, 20:59
Re: Textdraws setstring - by IgorLuiz - 21.07.2015, 21:00
Re: Textdraws setstring - by JuniorTheDM - 21.07.2015, 21:08
Re: Textdraws setstring - by IgorLuiz - 21.07.2015, 21:42
Re: Textdraws setstring - by JuniorTheDM - 21.07.2015, 21:51
Re: Textdraws setstring - by humildadeforever - 21.07.2015, 21:58
Re: Textdraws setstring - by JuniorTheDM - 21.07.2015, 22:08
Re: Textdraws setstring - by humildadeforever - 21.07.2015, 22:22
Re: Textdraws setstring - by JuniorTheDM - 21.07.2015, 22:27

Forum Jump:


Users browsing this thread: 1 Guest(s)