10.09.2018, 22:51
PHP Code:
#include <a_samp>
public OnGameModeInit()
{
ro1 = TextDrawCreate(641.529418, 423.250000, "usebox");
TextDrawLetterSize(ro1, 0.000000, 2.535187);
TextDrawTextSize(ro1, -2.000000, 0.000000);
TextDrawAlignment(ro1, 1);
TextDrawColor(ro1, 0);
TextDrawUseBox(ro1, true);
TextDrawBoxColor(ro1, 170);
TextDrawSetShadow(ro1, 0);
TextDrawSetOutline(ro1, 0);
TextDrawFont(ro1, 0);
ro2 = TextDrawCreate(10.823518, 428.749969, "ID:");
TextDrawLetterSize(ro2, 0.449999, 1.600000);
TextDrawAlignment(ro2, 1);
TextDrawColor(ro2, -16776961);
TextDrawSetShadow(ro2, 0);
TextDrawSetOutline(ro2, 0);
TextDrawBackgroundColor(ro2, 51);
TextDrawFont(ro2, 1);
TextDrawSetProportional(ro2, 1);
ro3 = TextDrawCreate(127.529457, 428.166564, "R$:");
TextDrawLetterSize(ro3, 0.449999, 1.600000);
TextDrawAlignment(ro3, 1);
TextDrawColor(ro3, 8388863);
TextDrawSetShadow(ro3, 0);
TextDrawSetOutline(ro3, 1);
TextDrawBackgroundColor(ro3, 51);
TextDrawFont(ro3, 1);
TextDrawSetProportional(ro3, 1);
ro4 = TextDrawCreate(255.048370, 428.166595, "NICK:");
TextDrawLetterSize(ro4, 0.449999, 1.600000);
TextDrawAlignment(ro4, 1);
TextDrawColor(ro4, -65281);
TextDrawSetShadow(ro4, 0);
TextDrawSetOutline(ro4, 1);
TextDrawBackgroundColor(ro4, 51);
TextDrawFont(ro4, 1);
TextDrawSetProportional(ro4, 1);
ro5 = TextDrawCreate(406.824035, 428.166748, "LEVEL:");
TextDrawLetterSize(ro5, 0.449999, 1.600000);
TextDrawAlignment(ro5, 1);
TextDrawColor(ro5, 65535);
TextDrawSetShadow(ro5, 0);
TextDrawSetOutline(ro5, 1);
TextDrawBackgroundColor(ro5, 51);
TextDrawFont(ro5, 1);
TextDrawSetProportional(ro5, 1);
ro6 = TextDrawCreate(553.411193, 427.583251, "VIP:");
TextDrawLetterSize(ro6, 0.449999, 1.600000);
TextDrawAlignment(ro6, 1);
TextDrawColor(ro6, -2147450625);
TextDrawSetShadow(ro6, 0);
TextDrawSetOutline(ro6, 1);
TextDrawBackgroundColor(ro6, 51);
TextDrawFont(ro6, 1);
TextDrawSetProportional(ro6, 1);
ro7 = TextDrawCreate(503.058441, 394.917114, "www.brasilcidadevirtual.tk");
TextDrawLetterSize(ro7, 0.264588, 1.535833);
TextDrawAlignment(ro7, 1);
TextDrawColor(ro7, 16777215);
TextDrawSetShadow(ro7, 0);
TextDrawSetOutline(ro7, 1);
TextDrawBackgroundColor(ro7, 51);
TextDrawFont(ro7, 3);
TextDrawSetProportional(ro7, 1);
SetTimer("TodosPlayers", 1000, false);
return 1;
}
forward TodosPlayers();
public TodosPlayers()
{
for(new i; i < MAX_PLAYERS; i++)
{
// Funзгo para atualizar as text draws
return 1;
}
SetTimer("TodosPlayers", 1000, false);
}