[Ajuda] Erros TextDraw
#9

Quote:
Originally Posted by Carlos001
Посмотреть сообщение
Testa assim:
Quote:

NOME[playerid] = CreatePlayerTextDraw(playerid, 494.800079, 101.146675, "");
TextDrawLetterSize(NOME[playerid], 0.400000, 1.600000);
TextDrawAlignment(NOME[playerid], 1);
TextDrawColor(NOME[playerid], -1);
TextDrawSetShadow(NOME[playerid], 0);
TextDrawSetOutline(NOME[playerid], 1);
TextDrawBackgroundColor(NOME[playerid], 255);
TextDrawFont(playerid, NOME[playerid], 3);
TextDrawSetProportional(NOME[playerid], 1);
TextDrawSetShadow(NOME[playerid], 0);

Do seu jeito gerou alguns avisos :/



Quote:

C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 213: tag mismatch
C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 213: tag mismatch
C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 213: tag mismatch
C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 213: tag mismatch
C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 213: tag mismatch
C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 213: tag mismatch
C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 213: tag mismatch
C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 213: tag mismatch
C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 202: number of arguments does not match definition
C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 213: tag mismatch
C:\Users\nalves eletronica\Desktop\Brasil FutureLife\gamemodes\GM.pwn(3211 : warning: 213: tag mismatch

PHP код:
stock TextDrawUpdate(playerid)
{
    new 
STR [270];
    
PlayerTextDrawShow(playeridNOME[playerid]);
    
format(STRsizeof(STR), "[~y~%s~w~]"PegarNome(playerid));
    
PlayerTextDrawSetString(playeridNOME[playerid], STR);
    
format(STRsizeof(STR), "~w~Level: %d"PlayerInfo[playerid][pLevel]);
    
PlayerTextDrawSetString(playeridTDEditor_PTD[playerid][1], STR);
    
PlayerTextDrawShow(playeridTDEditor_PTD[playerid][1]);
    
format(STRsizeof(STR), "~w~EXP:"PlayerInfo[playerid][pExp]);
    
PlayerTextDrawSetString(playeridTDEditor_PTD[playerid][2], STR);
    
PlayerTextDrawShow(playeridTDEditor_PTD[playerid][2]);
    
format(STRsizeof(STR), "~w~MV: %d"PlayerInfo[playerid][pCasher]);
    
PlayerTextDrawSetString(playeridTDEditor_PTD[playerid][4], STR);
    
PlayerTextDrawShow(playeridTDEditor_PTD[playerid][4]);
    return 
1;

Eu nгo coloquei as coisas que vocк pediu pra colocar na OnPlayerSpawn e coloquei aqui na Stock Que eu fiz....

Estб certo?
Reply


Messages In This Thread
Erros TextDraw - by JhowWatkins - 12.09.2016, 17:44
Re: Erros TextDraw - by BobbMarley - 12.09.2016, 18:23
Re: Erros TextDraw - by JhowWatkins - 12.09.2016, 19:52
Re: Erros TextDraw - by RodrigoMSR - 12.09.2016, 20:35
Re: Erros TextDraw - by BobbMarley - 12.09.2016, 20:58
Re: Erros TextDraw - by Carlos001 - 12.09.2016, 21:23
Re: Erros TextDraw - by JhowWatkins - 12.09.2016, 21:35
Re: Erros TextDraw - by JhowWatkins - 12.09.2016, 21:40
Re: Erros TextDraw - by JhowWatkins - 12.09.2016, 21:47
Re: Erros TextDraw - by Carlos001 - 12.09.2016, 21:52

Forum Jump:


Users browsing this thread: 1 Guest(s)