Advertisement
Mortyyka

Untitled

Jan 29th, 2023 (edited)
1,831
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.38 KB | None | 0 0
  1. new PlayerText:KarakterTD[7];
  2.  
  3.     KarakterTD[playerid][6] = CreatePlayerTextDraw(playerid, 356.000000, 283.000000, "Létrehoz");
  4.     PlayerTextDrawFont(playerid, KarakterTD[playerid][6], 2);
  5.     PlayerTextDrawLetterSize(playerid, KarakterTD[playerid][6], 0.258332, 1.750000);
  6.     PlayerTextDrawTextSize(playerid, KarakterTD[playerid][6], 16.500000, 64.000000);
  7.     PlayerTextDrawSetOutline(playerid, KarakterTD[playerid][6], 0);
  8.     PlayerTextDrawSetShadow(playerid, KarakterTD[playerid][6], 1);
  9.     PlayerTextDrawAlignment(playerid, KarakterTD[playerid][6], 2);
  10.     PlayerTextDrawColour(playerid, KarakterTD[playerid][6], -1);
  11.     PlayerTextDrawBackgroundColour(playerid, KarakterTD[playerid][6], 255);
  12.     PlayerTextDrawBoxColour(playerid, KarakterTD[playerid][6], 16711880);
  13.     PlayerTextDrawUseBox(playerid, KarakterTD[playerid][6], true);
  14.     PlayerTextDrawSetProportional(playerid, KarakterTD[playerid][6], true);
  15.     PlayerTextDrawSetSelectable(playerid, KarakterTD[playerid][6], true);
  16.  
  17. ShowCharacterTextDraw(playerid, type, skinid=0, const name[]="Nincs_Karakter")
  18. {
  19.     switch(type)
  20.     {
  21.      case 999:
  22.         {
  23.             va_PlayerTextDrawSetString(playerid, KarakterTD[playerid][6], "éáűőúöüóíÉÁŰŐÚÖÜÓÍ");
  24.             PlayerTextDrawShow(playerid, KarakterTD[playerid][6]);
  25.         }
  26. }
  27.  
  28. ShowCharacterTextDraw(playerid, 999); // called when the user successfully logs in.
  29.  
  30. /*
  31.  
  32. While not using y_va it works as expected.
  33.  
  34. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement