Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Cum fac sa scrie un text cand player-ul scrie o comanda gresita?


Question

Posted

Salut, stiu ca este ceva simplu, dar cum fac sa scrie un text pus de mine cand player-ul scrie o comanda gresita? (ex: comanda nu exista bla bla)

Nu stiu daca am voie sa cer asa ceva, dar as fii recunoscator.

(folosesc ycmd)

6 answers to this question

Recommended Posts

  • 0
Posted

.. eram sigur ca o sa vina unu ca tine sa zica asta, dar mna infine.

Eu stiu sa fac asta, si merge, doar ca atunci cand scriu o comanda corect, tot scrie acel mesaj

  • 0
Posted
public OnPlayerCommandPerformed(playerid, cmd[], params[], result, flags)
{
    if (result == -1)
    {
        SendErrorMessage(playerid, "Comanda necunoscuta, Utilizati {ffffff}/help {FF6347}sau {ffffff}/askq {FF6347}pentru intrebari sau ajutor.");
        return 1;
    }
    return 1;
}
  • 0
Posted
Acum 7 ore, Godless a spus:
public OnPlayerCommandPerformed(playerid, cmd[], params[], result, flags)
{
    if (result == -1)
    {
        SendErrorMessage(playerid, "Comanda necunoscuta, Utilizati {ffffff}/help {FF6347}sau {ffffff}/askq {FF6347}pentru intrebari sau ajutor.");
        return 1;
    }
    return 1;
}

Asta e pawncmd.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.