20.03.2015, 08:21
Hello guys, I'm sorry for my english. I have a problem with clickable textdraw.
I need to when you roll over previw(id 2999) light up this circle (ID 2999).
The problem is that when the cursor is next to the circle (ID 2999), he begins to sunbathe. And you need to, when only brought upon the circle.
Briefly tell you: you have to circle not sunbathe beyond its borders.
Once again I apologize for my English.
my code:
I need to when you roll over previw(id 2999) light up this circle (ID 2999).
The problem is that when the cursor is next to the circle (ID 2999), he begins to sunbathe. And you need to, when only brought upon the circle.
Briefly tell you: you have to circle not sunbathe beyond its borders.
Once again I apologize for my English.
my code:
Код:
iEquip_slot[playerid][7] = CreatePlayerTextDraw(playerid, 545.000000, 125.000000, "");//экипировка артефакт PlayerTextDrawFont(playerid, iEquip_slot[playerid][7], TEXT_DRAW_FONT_MODEL_PREVIEW); PlayerTextDrawBackgroundColor(playerid, iEquip_slot[playerid][7], 0x00000000); PlayerTextDrawTextSize(playerid, iEquip_slot[playerid][7], 60.0, 60.0); PlayerTextDrawSetPreviewModel(playerid, iEquip_slot[playerid][7], 2999);//3002 PlayerTextDrawSetPreviewRot(playerid, iEquip_slot[playerid][7], 40, -15, 10, 1); PlayerTextDrawColor(playerid, iEquip_slot[playerid][7], 0x0D0D0D20); PlayerTextDrawSetSelectable(playerid, iEquip_slot[playerid][7], 1); PlayerTextDrawShow(playerid, iEquip_slot[playerid][7]);