14.08.2013, 13:53
(
Последний раз редактировалось dusk; 14.08.2013 в 15:47.
)
Bump
EDIT: i removed the TextDrawColor function. Now when I hover over the textdraw with my mouse it changes color. But when i press - nothing happens.
EDIT2:I added prints on OnPlayerClickTextDraw callback, they were not printed.
EDIT3: The callback just doesn't get called. I pressed escape, and it didn't even print anything out then...
My code:
EDIT: i removed the TextDrawColor function. Now when I hover over the textdraw with my mouse it changes color. But when i press - nothing happens.
EDIT2:I added prints on OnPlayerClickTextDraw callback, they were not printed.
EDIT3: The callback just doesn't get called. I pressed escape, and it didn't even print anything out then...
My code:
pawn Код:
printf("TExtdraw is cliked.");
CancelSelectTextDraw(playerid);
return 0;