PDA

View Full Version : Clicking on the textdraw.


faff
18/07/2013, 03:59 PM
Finally, it's working.
It's changing from color when i hover over the textdraw.
But when i click on it.
It aint doing anything


if(playertextid == PlayerText:DLexit[playerid]) {
SetCameraBehindPlayer(playerid);
PlayerTextDrawShow(playerid, hunger[playerid]);
PlayerTextDrawShow(playerid, thirst[playerid]);
PlayerTextDrawHide(playerid, DLbox1[playerid]);
PlayerTextDrawHide(playerid, DLbox2[playerid]);
PlayerTextDrawHide(playerid, DLbox3[playerid]);
PlayerTextDrawHide(playerid, DLmodify[playerid]);
PlayerTextDrawHide(playerid, DLspeedtest[playerid]);
PlayerTextDrawHide(playerid, DLcitytest[playerid]);
PlayerTextDrawHide(playerid, DLpaint[playerid]);
PlayerTextDrawHide(playerid, DLbuy[playerid]);
PlayerTextDrawHide(playerid, DLexit[playerid]);
CancelSelectTextDraw(playerid);
return 1;
}


Does anybody know why?

Regards, Faff.