PHP код:
stock CreatePlayerTextdraws(playerid) // MDC textdraws
{
MDC[0][playerid] = CreatePlayerTextDraw(playerid, 135.000000, 121.000000, " ");
PlayerTextDrawBackgroundColor(playerid, MDC[0][playerid], 255);
PlayerTextDrawFont(playerid, MDC[0][playerid], 1);
PlayerTextDrawLetterSize(playerid, MDC[0][playerid], 0.500000, 29.000000);
PlayerTextDrawColor(playerid, MDC[0][playerid], -1);
PlayerTextDrawSetOutline(playerid, MDC[0][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[0][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[0][playerid], 1);
PlayerTextDrawUseBox(playerid, MDC[0][playerid], 1);
PlayerTextDrawBoxColor(playerid, MDC[0][playerid], 148);
PlayerTextDrawTextSize(playerid, MDC[0][playerid], 491.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, MDC[0][playerid], 0);
MDC[1][playerid] = CreatePlayerTextDraw(playerid, 223.000000, 122.000000, "CHICAGO POLICE DEPARTMENT");
PlayerTextDrawBackgroundColor(playerid, MDC[1][playerid], 255);
PlayerTextDrawFont(playerid, MDC[1][playerid], 2);
PlayerTextDrawLetterSize(playerid, MDC[1][playerid], 0.280000, 1.699999);
PlayerTextDrawColor(playerid, MDC[1][playerid], -1);
PlayerTextDrawSetOutline(playerid, MDC[1][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[1][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[1][playerid], 1);
PlayerTextDrawSetSelectable(playerid, MDC[1][playerid], 0);
MDC[2][playerid] = CreatePlayerTextDraw(playerid, 135.000000, 142.000000, " ");
PlayerTextDrawBackgroundColor(playerid, MDC[2][playerid], 255);
PlayerTextDrawFont(playerid, MDC[2][playerid], 1);
PlayerTextDrawLetterSize(playerid, MDC[2][playerid], 0.509999, 1.000000);
PlayerTextDrawColor(playerid, MDC[2][playerid], 8454143);
PlayerTextDrawSetOutline(playerid, MDC[2][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[2][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[2][playerid], 1);
PlayerTextDrawUseBox(playerid, MDC[2][playerid], 1);
PlayerTextDrawBoxColor(playerid, MDC[2][playerid], 8454143);
PlayerTextDrawTextSize(playerid, MDC[2][playerid], 491.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, MDC[2][playerid], 0);
MDC[3][playerid] = CreatePlayerTextDraw(playerid, 255.000000, 169.000000, " ");
PlayerTextDrawBackgroundColor(playerid, MDC[3][playerid], 255);
PlayerTextDrawFont(playerid, MDC[3][playerid], 1);
PlayerTextDrawLetterSize(playerid, MDC[3][playerid], 0.890000, 3.599994);
PlayerTextDrawColor(playerid, MDC[3][playerid], -1);
PlayerTextDrawSetOutline(playerid, MDC[3][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[3][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[3][playerid], 1);
PlayerTextDrawUseBox(playerid, MDC[3][playerid], 1);
PlayerTextDrawBoxColor(playerid, MDC[3][playerid], -206);
PlayerTextDrawTextSize(playerid, MDC[3][playerid], 374.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, MDC[3][playerid], 0);
MDC[4][playerid] = CreatePlayerTextDraw(playerid, 135.000000, 365.000000, " ");
PlayerTextDrawBackgroundColor(playerid, MDC[4][playerid], 255);
PlayerTextDrawFont(playerid, MDC[4][playerid], 1);
PlayerTextDrawLetterSize(playerid, MDC[4][playerid], 0.509999, 1.000000);
PlayerTextDrawColor(playerid, MDC[4][playerid], 8454143);
PlayerTextDrawSetOutline(playerid, MDC[4][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[4][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[4][playerid], 1);
PlayerTextDrawUseBox(playerid, MDC[4][playerid], 1);
PlayerTextDrawBoxColor(playerid, MDC[4][playerid], 8454143);
PlayerTextDrawTextSize(playerid, MDC[4][playerid], 491.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, MDC[4][playerid], 0);
MDC[5][playerid] = CreatePlayerTextDraw(playerid, 261.000000, 171.000000, "ld_otb2:butnc");
PlayerTextDrawBackgroundColor(playerid, MDC[5][playerid], 0);
PlayerTextDrawFont(playerid, MDC[5][playerid], 4);
PlayerTextDrawLetterSize(playerid, MDC[5][playerid], 0.810000, 1.000000);
PlayerTextDrawColor(playerid, MDC[5][playerid], -1);
PlayerTextDrawSetOutline(playerid, MDC[5][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[5][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[5][playerid], 1);
PlayerTextDrawUseBox(playerid, MDC[5][playerid], 1);
PlayerTextDrawBoxColor(playerid, MDC[5][playerid], 255);
PlayerTextDrawTextSize(playerid, MDC[5][playerid], 107.000000, 28.000000);
PlayerTextDrawSetSelectable(playerid, MDC[5][playerid], 1);
MDC[6][playerid] = CreatePlayerTextDraw(playerid, 261.000000, 203.000000, "ld_otb2:butnc");
PlayerTextDrawBackgroundColor(playerid, MDC[6][playerid], 0);
PlayerTextDrawFont(playerid, MDC[6][playerid], 4);
PlayerTextDrawLetterSize(playerid, MDC[6][playerid], 0.810000, 1.000000);
PlayerTextDrawColor(playerid, MDC[6][playerid], -1);
PlayerTextDrawSetOutline(playerid, MDC[6][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[6][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[6][playerid], 1);
PlayerTextDrawUseBox(playerid, MDC[6][playerid], 1);
PlayerTextDrawBoxColor(playerid, MDC[6][playerid], 255);
PlayerTextDrawTextSize(playerid, MDC[6][playerid], 107.000000, 28.000000);
PlayerTextDrawSetSelectable(playerid, MDC[6][playerid], 1);
MDC[7][playerid] = CreatePlayerTextDraw(playerid, 261.000000, 236.000000, "ld_otb2:butnc");
PlayerTextDrawBackgroundColor(playerid, MDC[7][playerid], 0);
PlayerTextDrawFont(playerid, MDC[7][playerid], 4);
PlayerTextDrawLetterSize(playerid, MDC[7][playerid], 0.810000, 1.000000);
PlayerTextDrawColor(playerid, MDC[7][playerid], -1);
PlayerTextDrawSetOutline(playerid, MDC[7][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[7][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[7][playerid], 1);
PlayerTextDrawUseBox(playerid, MDC[7][playerid], 1);
PlayerTextDrawBoxColor(playerid, MDC[7][playerid], 255);
PlayerTextDrawTextSize(playerid, MDC[7][playerid], 107.000000, 28.000000);
PlayerTextDrawSetSelectable(playerid, MDC[7][playerid], 1);
MDC[8][playerid] = CreatePlayerTextDraw(playerid, 261.000000, 271.000000, "ld_otb2:butnc");
PlayerTextDrawBackgroundColor(playerid, MDC[8][playerid], 0);
PlayerTextDrawFont(playerid, MDC[8][playerid], 4);
PlayerTextDrawLetterSize(playerid, MDC[8][playerid], 0.810000, 1.000000);
PlayerTextDrawColor(playerid, MDC[8][playerid], -1);
PlayerTextDrawSetOutline(playerid, MDC[8][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[8][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[8][playerid], 1);
PlayerTextDrawUseBox(playerid, MDC[8][playerid], 1);
PlayerTextDrawBoxColor(playerid, MDC[8][playerid], 255);
PlayerTextDrawTextSize(playerid, MDC[8][playerid], 107.000000, 28.000000);
PlayerTextDrawSetSelectable(playerid, MDC[8][playerid], 1);
MDC[9][playerid] = CreatePlayerTextDraw(playerid, 287.000000, 174.000000, "PERSON SEARCH");
PlayerTextDrawBackgroundColor(playerid, MDC[9][playerid], 255);
PlayerTextDrawFont(playerid, MDC[9][playerid], 1);
PlayerTextDrawLetterSize(playerid, MDC[9][playerid], 0.230000, 1.000000);
PlayerTextDrawColor(playerid, MDC[9][playerid], 8454143);
PlayerTextDrawSetOutline(playerid, MDC[9][playerid], 1);
PlayerTextDrawSetProportional(playerid, MDC[9][playerid], 1);
PlayerTextDrawSetSelectable(playerid, MDC[9][playerid], 0);
MDC[10][playerid] = CreatePlayerTextDraw(playerid, 286.000000, 206.000000, "VEHICLE SEARCH");
PlayerTextDrawBackgroundColor(playerid, MDC[10][playerid], 255);
PlayerTextDrawFont(playerid, MDC[10][playerid], 1);
PlayerTextDrawLetterSize(playerid, MDC[10][playerid], 0.230000, 1.000000);
PlayerTextDrawColor(playerid, MDC[10][playerid], 8454143);
PlayerTextDrawSetOutline(playerid, MDC[10][playerid], 1);
PlayerTextDrawSetProportional(playerid, MDC[10][playerid], 1);
PlayerTextDrawSetSelectable(playerid, MDC[10][playerid], 0);
MDC[11][playerid] = CreatePlayerTextDraw(playerid, 283.000000, 239.000000, "CREATE-SHOW CRIME");
PlayerTextDrawBackgroundColor(playerid, MDC[11][playerid], 255);
PlayerTextDrawFont(playerid, MDC[11][playerid], 1);
PlayerTextDrawLetterSize(playerid, MDC[11][playerid], 0.230000, 1.000000);
PlayerTextDrawColor(playerid, MDC[11][playerid], 8454143);
PlayerTextDrawSetOutline(playerid, MDC[11][playerid], 1);
PlayerTextDrawSetProportional(playerid, MDC[11][playerid], 1);
PlayerTextDrawSetSelectable(playerid, MDC[11][playerid], 0);
MDC[12][playerid] = CreatePlayerTextDraw(playerid, 294.000000, 274.000000, "ERASE CRIME");
PlayerTextDrawBackgroundColor(playerid, MDC[12][playerid], 255);
PlayerTextDrawFont(playerid, MDC[12][playerid], 1);
PlayerTextDrawLetterSize(playerid, MDC[12][playerid], 0.230000, 1.000000);
PlayerTextDrawColor(playerid, MDC[12][playerid], 8454143);
PlayerTextDrawSetOutline(playerid, MDC[12][playerid], 1);
PlayerTextDrawSetProportional(playerid, MDC[12][playerid], 1);
PlayerTextDrawSetSelectable(playerid, MDC[12][playerid], 0);
MDC[13][playerid] = CreatePlayerTextDraw(playerid, 261.000000, 306.000000, "ld_otb2:butnc");
PlayerTextDrawBackgroundColor(playerid, MDC[13][playerid], 0);
PlayerTextDrawFont(playerid, MDC[13][playerid], 4);
PlayerTextDrawLetterSize(playerid, MDC[13][playerid], 0.810000, 1.000000);
PlayerTextDrawColor(playerid, MDC[13][playerid], -1);
PlayerTextDrawSetOutline(playerid, MDC[13][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[13][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[13][playerid], 1);
PlayerTextDrawUseBox(playerid, MDC[13][playerid], 1);
PlayerTextDrawBoxColor(playerid, MDC[13][playerid], 255);
PlayerTextDrawTextSize(playerid, MDC[13][playerid], 107.000000, 28.000000);
PlayerTextDrawSetSelectable(playerid, MDC[13][playerid], 1);
MDC[14][playerid] = CreatePlayerTextDraw(playerid, 294.000000, 309.000000, "CLOSE MDC");
PlayerTextDrawBackgroundColor(playerid, MDC[14][playerid], 255);
PlayerTextDrawFont(playerid, MDC[14][playerid], 1);
PlayerTextDrawLetterSize(playerid, MDC[14][playerid], 0.230000, 1.000000);
PlayerTextDrawColor(playerid, MDC[14][playerid], -16776961);
PlayerTextDrawSetOutline(playerid, MDC[14][playerid], 1);
PlayerTextDrawSetProportional(playerid, MDC[14][playerid], 1);
PlayerTextDrawSetSelectable(playerid, MDC[14][playerid], 0);
MDC[15][playerid] = CreatePlayerTextDraw(playerid, 394.000000, 366.000000, "CAPD DATA");
PlayerTextDrawBackgroundColor(playerid, MDC[15][playerid], 255);
PlayerTextDrawFont(playerid, MDC[15][playerid], 2);
PlayerTextDrawLetterSize(playerid, MDC[15][playerid], 0.280000, 1.699999);
PlayerTextDrawColor(playerid, MDC[15][playerid], -1);
PlayerTextDrawSetOutline(playerid, MDC[15][playerid], 0);
PlayerTextDrawSetProportional(playerid, MDC[15][playerid], 1);
PlayerTextDrawSetShadow(playerid, MDC[15][playerid], 1);
PlayerTextDrawSetSelectable(playerid, MDC[15][playerid], 0);
}