Why this crash the server?
#3

Код:
if(dialogid == DIALOG_STAFF)
    {
    if(response)
    {
    if(!strlen(inputtext))
    {
    ShowPlayerDialog(playerid, DIALOG_STAFF, DIALOG_STYLE_INPUT, "Inserisci il testo", "Inserisci il testo che vuoi nel tuo titolo.", "Vai!", "Annulla");
    }
    Delete3DTextLabel(PlayerLabel[playerid]);
    new stringa[256];
    format(stringa, sizeof(stringa), "{62b382}• %s •", inputtext);
    PlayerLabel[playerid] = Create3DTextLabel(stringa, WHITE, 0.0, 0.0, 0.0, 20.0, 0, 1);
    Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.4);
    new string2[128];
    format(string2,sizeof(string2),"Messaggio %s messo sopra la tua testa.",inputtext);
    SendClientMessage(playerid, WHITE, string2);
    }
    }
Reply


Messages In This Thread
Why this crash the server? - by alanhutch - 15.10.2014, 21:16
Re: Why this crash the server? - by IceCube! - 15.10.2014, 21:39
Re: Why this crash the server? - by Salva2000 - 16.10.2014, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)