17.02.2015, 16:06
I have 5 clickable textdraws but the final 6th one doesn't seem to be working.
It doesn't change color when i hover over it either yet all the other ones do?
Top of the script
OnGamemodeinit
OnPlayerSpawn
Onplayerclicktextdraw
It compiles fine.. But like i said doesn't print anything or changes on hover. Any help would be appreciated +Rep.
thanks
It doesn't change color when i hover over it either yet all the other ones do?
Top of the script
Код:
new Text:Textdraw12;
Код:
Textdraw12 = TextDrawCreate(461.000000, 351.000000, "Done"); TextDrawBackgroundColor(Textdraw12, 255); TextDrawFont(Textdraw12, 1); TextDrawLetterSize(Textdraw12, 0.500000, 2.900000); TextDrawColor(Textdraw12, 16711935); TextDrawSetOutline(Textdraw12, 0); TextDrawSetProportional(Textdraw12, 1); TextDrawSetShadow(Textdraw12, 1); TextDrawUseBox(Textdraw12, 1); TextDrawBoxColor(Textdraw12, 16777215); TextDrawTextSize(Textdraw12, 504.000000, 0.000000); TextDrawSetSelectable(Textdraw12, 1);
Код:
TextDrawShowForPlayer(playerid, Textdraw12);
Код:
if(clickedid == Textdraw12) { print("OMG YOU PRESSED DONEEEEEEE"); return 1; }
thanks