for(new playerid=0; playerid<GetMaxPlayers(); playerid++){ PlayerInfo[playerid][SkinSelect] = TextDrawCreate(248.000000, 125.000000, "~<~"); TextDrawBackgroundColor(PlayerInfo[playerid][SkinSelect], 255); TextDrawFont(PlayerInfo[playerid][SkinSelect], 2); TextDrawLetterSize(PlayerInfo[playerid][SkinSelect], 1.000000, 3.000000); TextDrawColor(PlayerInfo[playerid][SkinSelect], -1); TextDrawSetOutline(PlayerInfo[playerid][SkinSelect], 1); TextDrawSetProportional(PlayerInfo[playerid][SkinSelect], 1); TextDrawUseBox(PlayerInfo[playerid][SkinSelect], 1); TextDrawBoxColor(PlayerInfo[playerid][SkinSelect], 0); TextDrawTextSize(PlayerInfo[playerid][SkinSelect], 270.000000, 15.000000); TextDrawSetSelectable(PlayerInfo[playerid][SkinSelect], 1); PlayerInfo[playerid][SkinSelect1] = TextDrawCreate(362.000000, 125.000000, "~>~"); TextDrawBackgroundColor(PlayerInfo[playerid][SkinSelect1], 255); TextDrawFont(PlayerInfo[playerid][SkinSelect1], 2); TextDrawLetterSize(PlayerInfo[playerid][SkinSelect1], 1.000000, 3.000000); TextDrawColor(PlayerInfo[playerid][SkinSelect1], -1); TextDrawSetOutline(PlayerInfo[playerid][SkinSelect1], 1); TextDrawSetProportional(PlayerInfo[playerid][SkinSelect1], 1); TextDrawUseBox(PlayerInfo[playerid][SkinSelect1], 1); TextDrawBoxColor(PlayerInfo[playerid][SkinSelect1], 0); TextDrawTextSize(PlayerInfo[playerid][SkinSelect1], 385.000000, 15.000000); TextDrawSetSelectable(PlayerInfo[playerid][SkinSelect1], 1); PlayerInfo[playerid][SkinSelect2] = TextDrawCreate(267.500000, 175.000000, "~g~Select"); TextDrawBackgroundColor(PlayerInfo[playerid][SkinSelect2], 255); TextDrawFont(PlayerInfo[playerid][SkinSelect2], 2); TextDrawLetterSize(PlayerInfo[playerid][SkinSelect2], 0.600000, 2.100000); TextDrawColor(PlayerInfo[playerid][SkinSelect2], -1); TextDrawSetOutline(PlayerInfo[playerid][SkinSelect2], 1); TextDrawSetProportional(PlayerInfo[playerid][SkinSelect2], 1); TextDrawSetShadow(PlayerInfo[playerid][SkinSelect2], 1); TextDrawUseBox(PlayerInfo[playerid][SkinSelect2], 1); TextDrawBoxColor(PlayerInfo[playerid][SkinSelect2], 0); TextDrawTextSize(PlayerInfo[playerid][SkinSelect2], 370.000000, 15.000000); TextDrawSetSelectable(PlayerInfo[playerid][SkinSelect2], 1); }
new Text:Blabla
enum pInfo { Text:SkinSelect, Text:SkinSelect1, Text:SkinSelect2, } new PlayerInfo[MAX_PLAYERS][pInfo];
TextDrawTextSize(PlayerInfo[playerid][SkinSelect], 20.000000, 15.000000);
Here look
pawn Код:
|