Jump to content

DroKeN

Membru
  • Posts

    4
  • Joined

  • Last visited

Posts posted by DroKeN

  1. Pune functile astea in comanda /setadmin 

        else format(query,sizeof(query),"UPDATE users SET `Admin`='%d' WHERE `ID`='%d'",PlayerInfo[id][pAdmin],PlayerInfo[id][pSQLID]);
        mysql_query(SQL,query);
        UpdateVar(id, "Admin", PlayerInfo[id][pAdmin]);

  2. Incearca asa:

                if(PaintType != 0 && PlayersOnPaint(PaintType-1) >= 2) {
                    new pp = PaintType-1;
                    if(pp < 2) {
                        format(string, sizeof(string), "Paintball time: %s~n~Current map: %s~n~Stats: %d kills, %d deaths.~n~Total score: %d~n~Best player: %s (kills: %d)~n~%d players in paintball.",
                        CalculeazaTimp2(PaintTime[pp]), MapName(pp), PKills, PDeaths, PKills-PDeaths, GetName(PaintballWinner[pp]), PKills[PaintballWinner[pp]], PlayersOnPaint(pp));
                    }
                    else {
                        new masadenume[32];
                        GetWeaponNameEx(GetPlayerWeapon(i), masadenume, sizeof(masadenume));

                        format(string, sizeof(string), "Paintball time: %s~n~Current map: %s~n~Stats: %d kills, %d deaths.~n~Total score: %d~n~Level %d, Weapon: %s~n~Best player: %s (kills: %d)~n~%d players in paintball.",
                        CalculeazaTimp2(PaintTime[pp]), MapName(pp), PKills, PDeaths, PKills-PDeaths, GetPaintLevel(i), masadenume, GetName(PaintballWinner[pp]), PKills[PaintballWinner[pp]], PlayersOnPaint(pp));
                    }
                    
                    if(PaintTime[pp] == 0 && PaintballWinner[pp] != -1) {
                        for(new m = 0; m < 5; m++) SendDeathMessageToPlayer(i, 1001, 1001, 200);
                        format(string, sizeof(string), "Statistica ta in aceasta runda: %d ucideri si %d decese.", PKills, PDeaths);
                        SCM(i, COLOR_YELLOW, string);                    
                        format(swinner, 256, "* %s a castigat runda cu %d ucideri.", GetName(PaintballWinner[pp]), PKills[PaintballWinner[pp]]);                                
                        PKills = 0, PDeaths = 0;
                        ResetWeapons(i);                
                        PaintballWinnerScore[pp] = 0;                    
                        SendPaintMessage(PaintType, COLOR_YELLOW, swinner);
                        PaintballWinner[pp] = -1;                    
                    }
                    if(PaintTime[pp] != 0 && PaintText[pp] == 0) {
                        PlayerTextDrawSetString(i, PaintTD, string);
                        PlayerTextDrawShow(i, PaintTD);                    
                    }    
                    else {                    
                        PlayerTextDrawHide(i, PaintTD);    
                    }    
                }
                else PlayerTextDrawHide(i, PaintTD);               

                if(PlayerInfo[pWantedLevel] >= 1) {
                    format(string, sizeof(string), "Nivel wanted actual: ~y~%d~n~~w~~h~Scade un nivel in: ~y~%d min.", PlayerInfo[pWantedLevel], 10-WantedTime);
                    PlayerTextDrawSetString(i, WantedTD, string);
                    PlayerTextDrawShow(i, WantedTD);
                }

  3. Ma ofer scripter pentru orice comunitate, singura conditie fiind seriozitatea.

    - Nu am nevoie de bani.
    - Detin experienta necesara pentru a fost o comunitate serioasa, am mai fost scripter pe alte comunitati dar m am retrat din cauza neseriozitati.
    - Fac codurile aranjate astfel incat sa-mi fie usor sa rezolv vreun bug sau sa modific ceva. (nu ca ar conta asta pentru altcineva cu exceptia mea)
    - Scriptul cat se poate de optimizat. (stiu sa folosesc iteratori si alte include-uri care optimizeaza codul)
    - Pot sa fac orice sistem cerut.

     

    Daca esti interesat, trimite-mi un PM, sau scire-mi unde te pot contacta pentru mai multe detalii.

    + Am uitat sa mentionez... stiu ca scrie "incepator", mi am creat contul acum findca mi am uitat parola la celalant, asa ca nu va luati dupa rang. (dispus sa trec orice test!

×
×
  • 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.