15.11.2013, 23:08
Код HTML:
new Text:gText4[MAX_PLAYERS]; new Text:gText3[MAX_PLAYERS]; new Text:gText2[MAX_PLAYERS]; new Text:gText1[MAX_PLAYERS]; for(new i=0; i<GetMaxPlayers(); i++){ gText4[i] = TextDrawCreate(235.0, 435, " "); TextDrawUseBox(gText4[i], true); TextDrawBoxColor(gText4[i], 0xFFFFFFAA); // COR DA BARRA DO RODA PE TextDrawLetterSize(gText4[i], 0.3 ,0.90); TextDrawFont(gText4[i],1); TextDrawSetOutline(gText4[i], 1); TextDrawColor(gText4[i], -1); TextDrawAlignment(gText4[i],1); gText3[i] = TextDrawCreate(0.0, 433, " "); TextDrawUseBox(gText3[i], true); TextDrawBoxColor(gText3[i], 0x000000FF); // COR DA BARRA DO RODA PE TextDrawLetterSize(gText3[i], 0.35 ,1.3); TextDrawFont(gText3[i],1); TextDrawSetOutline(gText3[i], 1); TextDrawColor(gText3[i], -1); gText2[i] = TextDrawCreate(235.0, 435, " "); TextDrawUseBox(gText2[i], true); TextDrawBoxColor(gText2[i], 0xFFFFFFAA); // COR DA BARRA DO RODA PE TextDrawLetterSize(gText2[i], 0.3 ,0.90); TextDrawFont(gText2[i],1); TextDrawSetOutline(gText2[i], 1); TextDrawColor(gText2[i], -1); TextDrawAlignment(gText2[i],1); gText1[i] = TextDrawCreate(420.0, 433, " "); TextDrawUseBox(gText1[i], true); TextDrawBoxColor(gText1[i], 0x000000FF); // COR DA BARRA DO RODA PE TextDrawLetterSize(gText1[i], 0.25 ,1.3); TextDrawFont(gText1[i],1); TextDrawSetOutline(gText1[i], 1); TextDrawColor(gText1[i], -1); } OnPlayerConnect TextDrawShowForPlayer(playerid, gText4 [playerid]); TextDrawShowForPlayer(playerid, gText3 [playerid]); TextDrawShowForPlayer(playerid, gText2 [playerid]); TextDrawShowForPlayer(playerid, gText1 [playerid]); //[.]Roda Pe new string3[128]; format(string3, sizeof(string3), " ~y~ID ~w~%d ~p~Level ~w~%d ~b~Nick ~w~%s",i , dini_Int(file, "Level"), aname); TextDrawSetString(gText3[i], string3); TextDrawShowForPlayer(i, gText3[i]); new string2[128]; format(string2, sizeof(string2), "~b~Site ~w~> ~y~~h~BCV-Gamees.forumeiros"); TextDrawSetString(gText2[i], string2); TextDrawShowForPlayer(i, gText2[i]); new string4[128]; format(string4, sizeof(string4), " ~b~Site ~w~> ~y~~h~BCV-Gamees.forumeiros"); TextDrawSetString(gText4[i], string4); TextDrawShowForPlayer(i, gText4[i]); new string1[128]; format(string1, sizeof(string1), " Digite /comandos /relatorio /admins /creditos ~g~"); TextDrawSetString(gText1[i], string1); TextDrawShowForPlayer(i, gText1[i]); //[.]Roda Pe