Jump to content

Recommended Posts

Posted

Salut as dori si eu un tutorial cu un sistem simplu ceva de genu, doar un inceput, restul fac eu, multumesc frumos.

PS: Am incercat sa il fac singur dar ma blocam acolo la dialog-ul comenzi de ex:

CMD:aplicastaff(playerid, params[])
{
    new stringz2[MAX_STRING],checkmysql[512];
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "Nu esti logat.");
    if(PlayerInfo[playerid][pHelper] > 0 || PlayerInfo[playerid][pAdmin] > 0) return SCM(playerid, COLOR_ERROR, "Nu poti accesa aceasta comanda deoarece faci parte din STAFF");
    mysql_format(SQL, checkmysql, sizeof(checkmysql), "SELECT * FROM `users` WHERE `id`='%d' AND `aplicatieh`='0'",PlayerInfo[playerid][pSQLID]);
    new Cache: verificare = mysql_query(SQL, checkmysql);
    if(cache_get_row_count() < 1) return ShowPlayerDialog(playerid, DIALOG_AIAPLICATIEH, DIALOG_STYLE_MSGBOX, "Server: Aplicatie", "Ai deja o aplicatie in STAFF, pentru a putea continua este nevoie sa o stergi.", "Sterge", "Anuleaza");
    cache_delete(verificare);

Si aici cand vine dialogu nu ma mai pricep + cu dialoguri-le care trb facute.... DIALOG_AIAPLICATIEH, DIALOG_AIAPLICATIIEH, etc...

g4JGBJX.gif.31953391ab64171df562293ad37a0875.gif.9d26b39cd3270634d9cf89dcb43fba87.gif

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.