GTAMulti - GTA Türkiye

San Andreas Multiplayer => PAWN Kodlama => Mod Galerisi => Konuyu başlatan: Rain - 10 Şubat 2022, 14:30:57

Başlık: Player UI Textdraw
Gönderen: Rain - 10 Şubat 2022, 14:30:57
Kapsamlı bir UI değil isteyenler kullanabilir.
İşlevsizdir.

PAWN Kodu: Seç
new PlayerText:PlayerTD[MAX_PLAYERS][7];
PAWN Kodu: Seç
PlayerTD[playerid]
[list][li]= CreatePlayerTextDraw(playerid, 564.000000, 435.000000, "_");[/li][/list]
PlayerTextDrawFont(playerid, PlayerTD[playerid]
[list][li], 1);[/li][/list]
PlayerTextDrawLetterSize(playerid, PlayerTD[playerid]
[list][li], 0.600000, 0.849994);[/li][/list]
PlayerTextDrawTextSize(playerid, PlayerTD[playerid]
[list][li], 298.500000, 137.500000);[/li][/list]
PlayerTextDrawSetOutline(playerid, PlayerTD[playerid]
[list][li], 1);[/li][/list]
PlayerTextDrawSetShadow(playerid, PlayerTD[playerid]
[list][li], 0);[/li][/list]
PlayerTextDrawAlignment(playerid, PlayerTD[playerid]
[list][li], 2);[/li][/list]
PlayerTextDrawColor(playerid, PlayerTD[playerid]
[list][li], -1);[/li][/list]
PlayerTextDrawBackgroundColor(playerid, PlayerTD[playerid]
[list][li], 255);[/li][/list]
PlayerTextDrawBoxColor(playerid, PlayerTD[playerid]
[list][li], 200);[/li][/list]
PlayerTextDrawUseBox(playerid, PlayerTD[playerid]
[list][li], 1);[/li][/list]
PlayerTextDrawSetProportional(playerid, PlayerTD[playerid]
[list][li], 1);[/li][/list]
PlayerTextDrawSetSelectable(playerid, PlayerTD[playerid]
[list][li], 0);
[/li][/list]
PlayerTD[playerid][1] = CreatePlayerTextDraw(playerid, 495.000000, 433.000000, "ID:");
PlayerTextDrawFont(playerid, PlayerTD[playerid][1], 2);
PlayerTextDrawLetterSize(playerid, PlayerTD[playerid][1], 0.224999, 1.100000);
PlayerTextDrawTextSize(playerid, PlayerTD[playerid][1], 400.000000, 17.000000);
PlayerTextDrawSetOutline(playerid, PlayerTD[playerid][1], 0);
PlayerTextDrawSetShadow(playerid, PlayerTD[playerid][1], 0);
PlayerTextDrawAlignment(playerid, PlayerTD[playerid][1], 1);
PlayerTextDrawColor(playerid, PlayerTD[playerid][1], -1);
PlayerTextDrawBackgroundColor(playerid, PlayerTD[playerid][1], 255);
PlayerTextDrawBoxColor(playerid, PlayerTD[playerid][1], 50);
PlayerTextDrawUseBox(playerid, PlayerTD[playerid][1], 0);
PlayerTextDrawSetProportional(playerid, PlayerTD[playerid][1], 1);
PlayerTextDrawSetSelectable(playerid, PlayerTD[playerid][1], 0);

PlayerTD[playerid][2] = CreatePlayerTextDraw(playerid, 509.000000, 433.000000, "0");
PlayerTextDrawFont(playerid, PlayerTD[playerid][2], 2);
PlayerTextDrawLetterSize(playerid, PlayerTD[playerid][2], 0.224999, 1.100000);
PlayerTextDrawTextSize(playerid, PlayerTD[playerid][2], 400.000000, 17.000000);
PlayerTextDrawSetOutline(playerid, PlayerTD[playerid][2], 0);
PlayerTextDrawSetShadow(playerid, PlayerTD[playerid][2], 0);
PlayerTextDrawAlignment(playerid, PlayerTD[playerid][2], 1);
PlayerTextDrawColor(playerid, PlayerTD[playerid][2], -1);
PlayerTextDrawBackgroundColor(playerid, PlayerTD[playerid][2], 255);
PlayerTextDrawBoxColor(playerid, PlayerTD[playerid][2], 50);
PlayerTextDrawUseBox(playerid, PlayerTD[playerid][2], 0);
PlayerTextDrawSetProportional(playerid, PlayerTD[playerid][2], 1);
PlayerTextDrawSetSelectable(playerid, PlayerTD[playerid][2], 0);

PlayerTD[playerid][3] = CreatePlayerTextDraw(playerid, 516.000000, 433.000000, "SQL:");
PlayerTextDrawFont(playerid, PlayerTD[playerid][3], 2);
PlayerTextDrawLetterSize(playerid, PlayerTD[playerid][3], 0.224999, 1.100000);
PlayerTextDrawTextSize(playerid, PlayerTD[playerid][3], 400.000000, 17.000000);
PlayerTextDrawSetOutline(playerid, PlayerTD[playerid][3], 0);
PlayerTextDrawSetShadow(playerid, PlayerTD[playerid][3], 0);
PlayerTextDrawAlignment(playerid, PlayerTD[playerid][3], 1);
PlayerTextDrawColor(playerid, PlayerTD[playerid][3], -1962934017);
PlayerTextDrawBackgroundColor(playerid, PlayerTD[playerid][3], 255);
PlayerTextDrawBoxColor(playerid, PlayerTD[playerid][3], 50);
PlayerTextDrawUseBox(playerid, PlayerTD[playerid][3], 0);
PlayerTextDrawSetProportional(playerid, PlayerTD[playerid][3], 1);
PlayerTextDrawSetSelectable(playerid, PlayerTD[playerid][3], 0);

PlayerTD[playerid][4] = CreatePlayerTextDraw(playerid, 557.000000, 433.000000, "31/01/2008");
PlayerTextDrawFont(playerid, PlayerTD[playerid][4], 2);
PlayerTextDrawLetterSize(playerid, PlayerTD[playerid][4], 0.212500, 1.000000);
PlayerTextDrawTextSize(playerid, PlayerTD[playerid][4], 400.000000, 17.000000);
PlayerTextDrawSetOutline(playerid, PlayerTD[playerid][4], 0);
PlayerTextDrawSetShadow(playerid, PlayerTD[playerid][4], 0);
PlayerTextDrawAlignment(playerid, PlayerTD[playerid][4], 1);
PlayerTextDrawColor(playerid, PlayerTD[playerid][4], -1);
PlayerTextDrawBackgroundColor(playerid, PlayerTD[playerid][4], 255);
PlayerTextDrawBoxColor(playerid, PlayerTD[playerid][4], 50);
PlayerTextDrawUseBox(playerid, PlayerTD[playerid][4], 0);
PlayerTextDrawSetProportional(playerid, PlayerTD[playerid][4], 1);
PlayerTextDrawSetSelectable(playerid, PlayerTD[playerid][4], 0);

PlayerTD[playerid][5] = CreatePlayerTextDraw(playerid, 538.000000, 433.000000, "1");
PlayerTextDrawFont(playerid, PlayerTD[playerid][5], 2);
PlayerTextDrawLetterSize(playerid, PlayerTD[playerid][5], 0.224999, 1.100000);
PlayerTextDrawTextSize(playerid, PlayerTD[playerid][5], 400.000000, 17.000000);
PlayerTextDrawSetOutline(playerid, PlayerTD[playerid][5], 0);
PlayerTextDrawSetShadow(playerid, PlayerTD[playerid][5], 0);
PlayerTextDrawAlignment(playerid, PlayerTD[playerid][5], 1);
PlayerTextDrawColor(playerid, PlayerTD[playerid][5], -1962934017);
PlayerTextDrawBackgroundColor(playerid, PlayerTD[playerid][5], 255);
PlayerTextDrawBoxColor(playerid, PlayerTD[playerid][5], -1962934222);
PlayerTextDrawUseBox(playerid, PlayerTD[playerid][5], 0);
PlayerTextDrawSetProportional(playerid, PlayerTD[playerid][5], 1);
PlayerTextDrawSetSelectable(playerid, PlayerTD[playerid][5], 0);

PlayerTD[playerid][6] = CreatePlayerTextDraw(playerid, 608.000000, 433.000000, "12:00");
PlayerTextDrawFont(playerid, PlayerTD[playerid][6], 2);
PlayerTextDrawLetterSize(playerid, PlayerTD[playerid][6], 0.212500, 1.000000);
PlayerTextDrawTextSize(playerid, PlayerTD[playerid][6], 400.000000, 17.000000);
PlayerTextDrawSetOutline(playerid, PlayerTD[playerid][6], 0);
PlayerTextDrawSetShadow(playerid, PlayerTD[playerid][6], 0);
PlayerTextDrawAlignment(playerid, PlayerTD[playerid][6], 1);
PlayerTextDrawColor(playerid, PlayerTD[playerid][6], -1);
PlayerTextDrawBackgroundColor(playerid, PlayerTD[playerid][6], 255);
PlayerTextDrawBoxColor(playerid, PlayerTD[playerid][6], 50);
PlayerTextDrawUseBox(playerid, PlayerTD[playerid][6], 0);
PlayerTextDrawSetProportional(playerid, PlayerTD[playerid][6], 1);
PlayerTextDrawSetSelectable(playerid, PlayerTD[playerid][6], 0);

(https://media.discordapp.net/attachments/840657664035651604/941296729087676436/Ekran_Goruntusu_40.png)
Başlık: Ynt: Player UI Textdraw
Gönderen: Rain - 11 Şubat 2022, 18:15:09
Fotoğraf güncellendi.
Başlık: Ynt: Player UI Textdraw
Gönderen: Hasan Sangrento - 12 Şubat 2022, 00:09:58
31.01.2008
Başlık: Ynt: Player UI Textdraw
Gönderen: Feick - 12 Şubat 2022, 11:52:17
Alıntı yapılan: Hasan Sangrento - 12 Şubat 2022, 00:09:58
31.01.2008
31.01.2008