- 0
Textdraw problem
-
Similar Content
-
- 7 replies
- 3,022 views
-
- 1 answer
- 846 views
-
- 0 replies
- 407 views
-
- 9 replies
- 736 views
-
- 6 replies
- 579 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
andy47
Problema intalnita (descriere): Pai am TD-ul din urmatoare poza si cand apas pe 0 nu merge imi acceseaza butonul Acces. Cand apas Clear merge dar cand apas 0 nu.
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):
TextDrawPin[ 11 ] = TextDrawCreate(533.000000, 287.875000, "Acces"); TextDrawLetterSize(TextDrawPin[ 11 ], 0.170999, 1.731249); TextDrawAlignment(TextDrawPin[ 11 ], 1); TextDrawColor(TextDrawPin[ 11 ], 16711935); TextDrawSetShadow(TextDrawPin[ 11 ], 0); TextDrawSetOutline(TextDrawPin[ 11 ], 1); TextDrawBackgroundColor(TextDrawPin[ 11 ], 51); TextDrawFont(TextDrawPin[ 11 ], 2); TextDrawSetProportional(TextDrawPin[ 11 ], 1); TextDrawSetSelectable(TextDrawPin[ 11 ], true); TextDrawPin[ 12 ] = TextDrawCreate(603.000000, 287.875000, "Clear"); TextDrawLetterSize(TextDrawPin[ 12 ], 0.170999, 1.731248); TextDrawAlignment(TextDrawPin[ 12 ], 1); TextDrawColor(TextDrawPin[ 12 ], -2147483393); TextDrawSetShadow(TextDrawPin[ 12 ], 0); TextDrawSetOutline(TextDrawPin[ 12 ], 1); TextDrawBackgroundColor(TextDrawPin[ 12 ], 51); TextDrawFont(TextDrawPin[ 12 ], 2); TextDrawSetProportional(TextDrawPin[ 12 ], 1); TextDrawSetSelectable(TextDrawPin[ 12 ], true); public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(_:clickedid != INVALID_TEXT_DRAW) { if(clickedid == TextDrawPin[ 12 ] ) // Clear { PinRemoveNumber(playerid); } else if(clickedid == TextDrawPin[ 11 ] ) // Acces { PinEnter(playerid); } } return ( true ) ; }
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da, l-am trecut si pe PlayerTextDraw si tot nu merge. Daca mai aveti nevoie de ceva script va dau.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts