pawn Код:
PlayerTextDrawTextSize(playerid, PartSelP[playerid][8], 308.587310, 20.000000);
This row is generating the issue. Looking on the wiki page (
https://sampwiki.blast.hk/wiki/PlayerTextDrawTextSize), you can see that this function is responsible for defining the clickable area of the text. Also, it says that if you align the text to the center (alignment 2), you should invert X and Y. In your case, making the X parameter equal to ~10 instead of 308 should fix the problem. Try different values until you find the one that fits best.