What wrong here.
#1

Im trying to made a textdraws but there a problem... when i clicked.


PHP код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    if(
clickedid == Textdraw5)
    {
        
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FFB404}Account InLoading", "{047EFF}Welcome, your name is {FFB404}available {047EFF}in the list of names Please enter your account password!","{43E104}Login","{FF0505}Quit");
    }
    if(
clickedid == Textdraw6)
    {
        
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "{FFB404}Singup Account", "{2044E4}Sorry but your name is {E18904}not available. {2044E4}Please log in with your account!", "{43E104}Register","{FF0505}Quit");
    }
    return 
1;
} 
Reply
#2

So any Help?
Reply
#3

What's the problem.
Reply
#4

Is the textdraw set to selectable?
PHP код:
    TextDrawSetSelectable(textdraw, true); 
Reply
#5

Here my code about Textdraws

PHP код:
Textdraw5 = TextDrawCreate(205.600219, 182.186691, "LOGIN");
    
TextDrawLetterSize(Textdraw5, 0.618800, 3.444265);
    
TextDrawAlignment(Textdraw5, 1);
    
TextDrawColor(Textdraw5, -5963521);
    
TextDrawSetShadow(Textdraw5, 0);
    
TextDrawSetOutline(Textdraw5, 1);
    
TextDrawTextSize(Textdraw5, 2.0, 3.6);
    
TextDrawBackgroundColor(Textdraw5, 51);
    
TextDrawFont(Textdraw5, 1);
    
TextDrawSetProportional(Textdraw5, 1);
    
TextDrawSetSelectable(Textdraw5, true);
    
Textdraw6 = TextDrawCreate(338.400054, 180.693313, "Registering..");
    
TextDrawLetterSize(Textdraw6, 0.493999, 3.242666);
    
TextDrawAlignment(Textdraw6, 1);
    
TextDrawColor(Textdraw6, -16776961);
    
TextDrawSetShadow(Textdraw6, 0);
    
TextDrawSetOutline(Textdraw6, 1);
    
TextDrawTextSize(Textdraw5, 2.0, 3.6);
    
TextDrawBackgroundColor(Textdraw6, 51);
    
TextDrawFont(Textdraw6, 1);
    
TextDrawSetProportional(Textdraw6, 1);
    
TextDrawSetSelectable(Textdraw6, true); 
Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
Is the textdraw set to selectable?
PHP код:
    TextDrawSetSelectable(textdraw, true); 
Yes creating at Textdraws
Reply
#6

here??
Reply
#7

Quote:
Originally Posted by iLearner
Посмотреть сообщение
What's the problem.
Only when i click to Textdraw5 there are nothing happend... and im creating a dialogs there for logging...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)