04.01.2015, 01:22
I have a very strange issue here. I have 3 textdraws and when i have them all three in my script i get a weird uncontrolable textdraw selection thing. But if i take two of them out it doesn't matter which ones and only leave one in my script, everything works perfectly. Its a weird error, its like i cant have them in the script at the same time. Why is this happening to me? I have never had this problem before.
Please help fast, therefore I can continue to work on my server
Please help fast, therefore I can continue to work on my server
Код:
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);
}


