easyDialog issue
#1

The problem is that even if I put nothing, or over 6 characters into inputtext I always got back the SCM with 3. Whats the problem? My easyDialog is from the original post by Emmet, so its probably not the include but I couldnt find a proper title for the post. Thanks!

PHP Code:
Dialog:TEST(playeriddialogidresponselistiteminputtext[])
{
    if(
response)
    {
        if(
strlen(inputtext) < 6)
        {
            
SendClientMessage(playerid, -1"1");
            
Dialog_Show(playeridTESTDIALOG_STYLE_PASSWORD"Test Dialog""inputtext < 6\nTest Text""Button 1""Button 2");
        }
        else
        {
            
SendClientMessage(playerid, -1"2");
        }
    }
    else
    {
        
SendClientMessage(playerid, -1"3");
    }
}
public 
OnPlayerConnect(playerid)
{
    
Dialog_Show(playeridTESTDIALOG_STYLE_PASSWORD"Test Dialog""Test Text""Button 1""Button 2");
    return 
1;

Reply


Messages In This Thread
easyDialog issue - by polygxn - 02.03.2019, 09:02
Re: easyDialog issue - by Kane - 02.03.2019, 09:23
Re: easyDialog issue - by polygxn - 02.03.2019, 09:27
Re: easyDialog issue - by TheToretto - 02.03.2019, 09:36
Re: easyDialog issue - by polygxn - 02.03.2019, 09:51

Forum Jump:


Users browsing this thread: 1 Guest(s)