08.10.2013, 06:56
I am trying to do somethings with textdraws, unfortunately, I can't.
I am trying to use iPLEOMAX's awesome textdraw editor but it refuses to acknowledge my mouse's click! I created a huge textdraw, went ingame and clicked on it, but my code under OnPlayerClickTextDraw, which was basically printing "hello" in console, didn't run! That means it didn't get called.
Please NOTE:
I reinstalled GTA - SA.
I reinstalled SA-MP.
I redownloaded the SA-MP server package.
Any help would be greatly appreciated!
Also, I gotta run my SA-MP client using "Run As Administrator" else it doesn't run, just something I'd share if it helps you.
When I use this code
When I use ESC to cancel the cursor (enabled using SelectTextDraw) this message is sent. But not when I am clicking the textdraw!
I am trying to use iPLEOMAX's awesome textdraw editor but it refuses to acknowledge my mouse's click! I created a huge textdraw, went ingame and clicked on it, but my code under OnPlayerClickTextDraw, which was basically printing "hello" in console, didn't run! That means it didn't get called.
Please NOTE:
I reinstalled GTA - SA.
I reinstalled SA-MP.
I redownloaded the SA-MP server package.
Any help would be greatly appreciated!
Also, I gotta run my SA-MP client using "Run As Administrator" else it doesn't run, just something I'd share if it helps you.
When I use this code
pawn Код:
public OnPlayerClickTextDraw( playerid, Text: clickedid )
{
SendClientMessage( playerid, -1, "CLICKED TEXTDRAW");
return 1;
}