Detaljan opis problema:Ne razumijem kako se koristi PlayerTextDrawSetString
Dio skripte:
Za ovaj dijalog
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
if(playertextid == Podatci0)
{
ShowPlayerDialog(playerid,DIALOG_SIFRA, DIALOG_STYLE_INPUT, "Lozinka", "Unesite lozinku:", "Unesi", "Odustani");
}Kako da podesim OnDialogResponse
if(dialogid == DIALOG_SIFRA)
{
if(response)
{
PlayerTextDrawSetString();
}
}Za ovaj TextDraw
Podatci0 = CreatePlayerTextDraw(playerid, 94.444427, 156.074050, "Lozinka");
PlayerTextDrawLetterSize(playerid, Podatci0, 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Podatci0, 1);
PlayerTextDrawColor(playerid, Podatci0, -1);
PlayerTextDrawSetShadow(playerid, Podatci0, 0);
PlayerTextDrawSetOutline(playerid, Podatci0, 1);
PlayerTextDrawBackgroundColor(playerid, Podatci0, 51);
PlayerTextDrawFont(playerid, Podatci0, 1);
PlayerTextDrawSetProportional(playerid, Podatci0, 1);
PlayerTextDrawSetSelectable(playerid, Podatci0, true);Neke slike/video za lakse dobivanje pomoci(neobavezno):
