23.01.2016, 20:48
The core of my problem is that inside of the lines (right bottom), every click triggers button one, so button two basically does not work.
(http://kephost.com/images/2016/01/23/Nevtelen2df7b.png)
(https://www.youtube.com/watch?v=kJ0beS_TuhI)
(http://kephost.com/images/2016/01/23/Nevtelen2df7b.png)
(https://www.youtube.com/watch?v=kJ0beS_TuhI)
Код:
PipBoy[playerid][95] = CreatePlayerTextDraw(playerid,205.000000, 171.000000, "button"); PlayerTextDrawAlignment(playerid,PipBoy[playerid][95], 1); PlayerTextDrawBackgroundColor(playerid,PipBoy[playerid][95], 255); PlayerTextDrawFont(playerid,PipBoy[playerid][95], 1); PlayerTextDrawLetterSize(playerid,PipBoy[playerid][95], 0.210000, 0.799999); PlayerTextDrawColor(playerid,PipBoy[playerid][95], 803946495); PlayerTextDrawSetOutline(playerid,PipBoy[playerid][95], 0); PlayerTextDrawSetProportional(playerid,PipBoy[playerid][95], 1); PlayerTextDrawSetShadow(playerid,PipBoy[playerid][95], 1); PlayerTextDrawSetSelectable(playerid,PipBoy[playerid][95], 1); PipBoy[playerid][96] = CreatePlayerTextDraw(playerid,205.000000, 178.000000, "button2"); PlayerTextDrawAlignment(playerid,PipBoy[playerid][96], 1); PlayerTextDrawBackgroundColor(playerid,PipBoy[playerid][96], 255); PlayerTextDrawFont(playerid,PipBoy[playerid][96], 1); PlayerTextDrawLetterSize(playerid,PipBoy[playerid][96], 0.210000, 0.799999); PlayerTextDrawColor(playerid,PipBoy[playerid][96], 803946495); PlayerTextDrawSetOutline(playerid,PipBoy[playerid][96], 0); PlayerTextDrawSetProportional(playerid,PipBoy[playerid][96], 1); PlayerTextDrawSetShadow(playerid,PipBoy[playerid][96], 1); PlayerTextDrawSetSelectable(playerid,PipBoy[playerid][96], 1);