Jump to content
  • 0

Problema Comanda Necunoscuta


PinDer

Question

11 answers to this question

Recommended Posts

  • 1
Just now, PinDer said:

1.Problema:Tastez comanda /v si imi spune ca comanda necunoscuta 
2.Cod sursa: Poze ||  Dialog_Garage  || stock ShowVehiclesMenu
3.Erori/atentionari: Nu primesc Erori/Avertizari Pawno
4.
Imagine/video:Poze
5.
Alte detalii:Multumesc

 

Problema este urmatoarea, in baza de date ai niste vehiule, de exemplu ID 5, ID 6 ID 7, iar tu cand  iti cumperi masina cheia ta va fi ID 1 ID 2 sau 

in baza de date ai vehiculele cu ID 1, ID 2, ID 3 si tu la cheia playerului ai Id 5, ID 6, ID 7 iar in acel tabel nu se afla vehiculele astea, si asta cauzeaza nefunctionarea comenzii, problema re rezolva cu un wipe la conturi si la vehicuel personale.

T/C

  • Upvote 1

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

  • 0

asta am  la OnPlayerCommandPerformed


public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(success)
    {
        SpamCheck[playerid] = GetTickCount();
    }
    if(!success) return SendClientMessage(playerid, COLOR_YELLOW2, "Eroare: Comanda necunoscuta!");
    return 1;
}

Link to comment
Share on other sites

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.