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

Question

Posted

Salut, am intalnit un bug pe un gm burned la acordarea de amenzi, deci cand acord amenda se pune la arrest.

6 answers to this question

Recommended Posts

  • 0
Posted
Quote

YCMD:ticket(playerid, params[], help) {
    if(!IsACop(playerid)) return SCM(playerid, COLOR_GREY, "Nu esti politist.");
    if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda!");
    if(OnDuty[playerid] != 1) return SCM(playerid, COLOR_LGREEN, "Eroare: Nu esti la datorie!");
    new id,string[128];
    if(sscanf(params, "u",id)) return SCM(playerid, COLOR_GREY, "USAGE: {FFFFFF}/ticket <playerid/name>");
    if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SCM(playerid, COLOR_GREY, "Acel player nu este conectat.");
    if(!ProxDetectorS(8.0, playerid, id)) return SCM(playerid, -1, "Acel player nu este langa tine.");
    if(IsACop(id)) return SCM(playerid, COLOR_GREY, "Nu poti da amenda unui politist!");
                        
    new szDialog[1000], title[100];
    format(title, 100, "Ticket > %s", GetName(id));
    for(new i = 0; i < 7; i++) {
        format(string, sizeof(string), "%s ($%d)\n", ticketName(i), ticketValue(i)); 
        strcat(szDialog, string);
    }
    ShowPlayerDialog(playerid, DIALOG_TICKET, DIALOG_STYLE_LIST, title, szDialog, "Ok", "Cancel");                    
    SetPVarInt(playerid, "userID", id);                    
    return 1;
}

pentru gamemode burned

  • 0
Posted (edited)
11 minutes ago, Radhe said:

V-a merge?

 

Da, cel putin mie imi merge pe localhost

Edited by VolticHD
  • 0
Posted
Acum 2 minute, VolticHD a spus:

Da, cel putin mie imi merge pe localhost

Ia fii atent, ai si tu sistemul de lift de langa ds?

  • 0
Posted
Just now, Radhe said:

Ia fii atent, ai si tu sistemul de lift de langa ds?

Dami mesaj pe discord : VolticHD#6879

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.