[Ajuda] TextDrawSetString
#1

Galera, desculpe eu vir aqui hoje denovo kkk
alguйm tem um exemplo de uso com TextDrawSetString?
tipo queria colocar TextDrawSetString em um textdraw para colocar a senha do player
Password:******* colocar no Textdraw e nгo em DIALOG_STYLE_PASSWORD
desde jб Agradeзo!
Reply
#2

PHP код:
for(new istrlen(inputtext); i++){ inputtext[i] = ']'; }
    
PlayerTextDrawSetString(playeridBarBieinputtext); 
Para que isso aconteзa a fonte de sua textdraw precisa estar em 2
Reply
#3

Para isso funcionar tenho que remover o sistema DIALOG e colocar esse?
Reply
#4

public OnPlayerConnect(playerid)
{
for(new i; i < strlen(inputtext); i++) {inputtext[i] = ']'}
PlayerTextDrawSetString(playerid, Background[20], inputtext);
}
Background[20] = TextDrawCreate(174.415817, 319.416687, " ");
TextDrawLetterSize(Background[20], 0.000000, 2.275923);
TextDrawTextSize(Background[20], 28.922401, 0.000000);
TextDrawAlignment(Background[20], 1);
TextDrawColor(Background[20], 0);
TextDrawUseBox(Background[20], true);
TextDrawBoxColor(Background[20], 102);
TextDrawSetShadow(Background[20], 0);
TextDrawSetOutline(Background[20], 0);
TextDrawFont(Background[20], 2);

pwn(429) : error 017: undefined symbol "inputtext"
pwn(429) : error 017: undefined symbol "inputtext"
pwn(429) : warning 215: expression has no effect
pwn(429) : error 001: expected token: ";", but found "]"
pwn(429) : fatal error 107: too many error messages on one line

wtf?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)