[Help (+REP)] OnPlayerClickPlayerTextDraw -
M0HAMMAD - 30.09.2014
Hi Every Body
My Login And Register System Is With Textdraw But !
When Player's Mouse Is On Login Textdraw! Textdraw Will Be Green But The Register Textdraw Is Below The Login Textdraw And When Player's Mouse Is On The Register Textdraw Both Textdraw Will Be Green.
Some One Please Help !!! I Will Give Hem +Rep
This The All Code
pawn Код:
new PlayerText:TDLogin[MAX_PLAYERS];
new PlayerText:TDReg[MAX_PLAYERS];
//------------------------------
// In A Dialog
TextDrawShowForPlayer(playerid , UBConnect);
PlayerTextDrawSetSelectable(playerid,TDLogin[playerid], 1);
PlayerTextDrawSetSelectable(playerid,TDReg[playerid], 1);
SelectTextDraw(playerid, 0x008000AA);
PlayerTextDrawShow(playerid , TDLogin[playerid]);
PlayerTextDrawShow(playerid , TDReg[playerid]);
Re: [Help (+REP)] OnPlayerClickPlayerTextDraw -
GunZ75 - 30.09.2014
TextDrawShowForPlayer(playerid , UBConnect);
PlayerTextDrawSetSelectable(playerid,TDLogin[playerid], 1);
PlayerTextDrawSetSelectable(playerid,TDReg[playerid], 1);
SelectTextDraw(playerid, 0x008000AA);
PlayerTextDrawShow(playerid , TDLogin[playerid]);
SelectTextDraw(playerid, (color u want));
PlayerTextDrawShow(playerid , TDReg[playerid]);
Try that out
EDIT: PS: dont post images on ur work in GTA people may copy it...
Re: [Help (+REP)] OnPlayerClickPlayerTextDraw -
M0HAMMAD - 30.09.2014
Quote:
Originally Posted by GunZ75
TextDrawShowForPlayer(playerid , UBConnect);
PlayerTextDrawSetSelectable(playerid,TDLogin[playerid], 1);
PlayerTextDrawSetSelectable(playerid,TDReg[playerid], 1);
SelectTextDraw(playerid, 0x008000AA);
PlayerTextDrawShow(playerid , TDLogin[playerid]);
SelectTextDraw(playerid, (color u want));
PlayerTextDrawShow(playerid , TDReg[playerid]);
Try that out
EDIT: PS: dont post images on ur work in GTA people may copy it...
|
Thanks. I Will Be Tested.
And Thanks About
Don't Post Images, Next Time Tell Me What Do You Change.
Edit : Not Work
Re: [Help (+REP)] OnPlayerClickPlayerTextDraw -
GunZ75 - 30.09.2014
No problem man
Re: [Help (+REP)] OnPlayerClickPlayerTextDraw -
GunZ75 - 30.09.2014
Hum im sorry then but i dont know i never tried to change the color when u go with ur mouse hover it... Maybe u should just leave it like that i guess
Re: [Help (+REP)] OnPlayerClickPlayerTextDraw -
JonathanW - 01.10.2014
I know what's the problem. The Size of the Textdraw is Larger. First Off, when you're using Hover Colour, use Font 1 as it's the best size and all that...
Secondly, don't enlarge the Textdraws too much. Keep them simple, keep them small. If you still wanna make them big, then set the Hover Color to the colour of your TEXT.
Re: [Help (+REP)] OnPlayerClickPlayerTextDraw -
Pottus - 01.10.2014
Do this dude these guys have absolutely no clue what they're talking about.
Turn on the box (Make sure you set the color to 0 so it doesn't show)
https://sampwiki.blast.hk/wiki/PlayerTextDrawUseBox
Set text textsize Y height this is the height of the clickable area
https://sampwiki.blast.hk/wiki/PlayerTextDrawTextSize
Re: [Help (+REP)] OnPlayerClickPlayerTextDraw -
M0HAMMAD - 01.10.2014
Quote:
Originally Posted by JonathanW
I know what's the problem. The Size of the Textdraw is Larger. First Off, when you're using Hover Colour, use Font 1 as it's the best size and all that...
Secondly, don't enlarge the Textdraws too much. Keep them simple, keep them small. If you still wanna make them big, then set the Hover Color to the colour of your TEXT.
|
Hi
Size Of 2 Textdraw Is
0.449999, 1.600000 And
I Use Font 1 And iPLEOMAX Textdraw Editor.
Re: [Help (+REP)] OnPlayerClickPlayerTextDraw -
SWGamer - 01.10.2014
This bug came to me too.When I used IPLEO To make my Counter Strike Sexy Class Menu.I fixed it by using Zacho Text Draw editor to make new text draws.Try that and tell me where it did work or not.