whats wrong..
#3

Tried setting dialogid to number?
Код:
    if(!strcmp(cmdtext, "/Set3dtext", true))
    {
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Title","Tybe in the 3dtext You want to set","Set","Cancel");
    return 1;
    
    }
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
        if(dialogid == 1)
    {
        new Text3D:labe[MAX_PLAYERS];
        new string[256];
        format(string,sizeof(string),"",inputtext);
        label[playerid] = Create3DTextLabel("%s",0x008080FF,30.0,40.0,50.0,40.0,0);
        Attach3DTextLabelToPlayer(labe[playerid], playerid, 0.0, 0.0, 0.7);
        SendClientMessage(playerid, COLOR_GREEN, "Your 3dtext has been set to %s");
        return 0;
    }
}
Reply


Messages In This Thread
whats wrong..(solved) - by Lazy_Duck - 10.04.2011, 09:42
Re: whats wrong.. - by Stigg - 10.04.2011, 09:47
Re: whats wrong.. - by Ironboy500[TW] - 10.04.2011, 09:47
Re: whats wrong.. - by HyperZ - 10.04.2011, 09:48
Re: whats wrong.. - by Salsa - 10.04.2011, 09:53
Re: whats wrong.. - by Lazy_Duck - 10.04.2011, 09:53
Re: whats wrong.. - by HyperZ - 10.04.2011, 09:55
Re: whats wrong.. - by Lazy_Duck - 10.04.2011, 09:59
Re: whats wrong.. - by HyperZ - 10.04.2011, 10:05
Re: whats wrong.. - by Lazy_Duck - 10.04.2011, 10:31

Forum Jump:


Users browsing this thread: 1 Guest(s)