Jump to content

qSorin_

Membru
  • Posts

    422
  • Joined

  • Last visited

  • Days Won

    19

Posts posted by qSorin_

  1. On 6/7/2023 at 2:11 PM, Micu_Gamer said:

    Prima data mergem sub define uri si punem aceasta linie : 

    new message[256];

    Acum, mergem la enum pInfo si pune urmatorul lucru : 

    pBonusTaken

    Acum, vom face urmatoarea comanda /firsttime folosind ZCMD :

    CMD:firsttime(playerid, params[])
    {
    
        if(PlayerInfo[playerid][pAdmin] < 6)
        {
            if(PlayerInfo[playerid][pBonusTaken] == 1)
            {
                SendClientMessage(playerid, 0xFFFFFFFF, "Ati revendicat deja bonusul.");
                return 1;
            }
    
            new randMoney = random(1000000, 1900000);
            new randPoints = random(20, 50);
            new randMats = random(1000, 5000);
            new randDrugs = random(500, 1000);
    
            GivePlayerCash(playerid, randMoney);
            PlayerInfo[playerid][pPremiumPoints] += randPoints;
            PlayerInfo[playerid][pMats] += randMats;
            PlayerInfo[playerid][pDrugs] += randDrugs;
            PlayerInfo[playerid][pBonusTaken] = 1;
    
            format(message, sizeof(message), "Felicitari! Ai primit $%d, %d Premium Points, %d Mats, and %d Drugs.", randMoney, randPoints, randMats, randDrugs);
            SendClientMessage(playerid, 0xFFFFFFFF, message);
        }
        else
        {
            new randMoney = random(1000000, 1900000);
            new randPoints = random(20, 50);
            new randMats = random(1000, 5000);
            new randDrugs = random(500, 1000);
    
            GivePlayerCash(playerid, randMoney);
            PlayerInfo[playerid][pPremiumPoints] += randPoints;
            PlayerInfo[playerid][pMats] += randMats; 
            PlayerInfo[playerid][pDrugs] += randDrugs; 
    
            format(message, sizeof(message), "Felicitari! Ai primit $%d, %d Premium Points, %d Mats, and %d Drugs.", randMoney, randPoints, randMats, randDrugs);
            SendClientMessage(playerid, 0xFFFFFFFF, message);
        }
    
        return 1;
    }

    Sper că o ajute!

    Aici varianta mai ok!

    ```

    CMD:firsttime(playerid, params[]) {
        if(PlayerInfo[playerid][pBonusTaken] && !PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, 0xFFFFFFFF, "Ati revendicat deja bonusul.");
        new randMoney = random(1000000, 1900000), randPoints = random(20, 50), randMats = random(1000, 5000),randDrugs = random(500, 1000);

        GivePlayerCash(playerid, randMoney);
        PlayerInfo[playerid][pPremiumPoints] += randPoints;
        PlayerInfo[playerid][pMats] += randMats;
        PlayerInfo[playerid][pDrugs] += randDrugs;
        PlayerInfo[playerid][pBonusTaken] = 1;

        new message[128];
        format(message, sizeof(message), "Felicitari! Ai primit $%d, %d Premium Points, %d Mats, and %d Drugs.", randMoney, randPoints, randMats, randDrugs);
        return SendClientMessage(playerid, 0xFFFFFFFF, message);
    }```

  2. Buna ziua/seara, vin cu un anunt ca server ul old-times.ro cauta un fondator matur si care poate sa ajute financiar server ul. (webhost+panel si promovari, etc...).
    Daca esti interesat ai discord ul meu sau al celuilalt fondator.

    Fondator principal: InCuRaBiLᴸᴳ#0001
    Scripter principal: qSorin_#1245

    Server ul s-a deschis pe data de 19.02.2023 ora 20:00 si a avut 50 de jucatori online. S-au investit multi bani in promovari.
    Cautam un alt fondator care poate sa ajute financiar, deoarece celalalt fondator a iesit din lipsa de timp.

  3. Revin si eu cu un reply asupra lui Razvy, de ce zici ca e comunitate neserioasa cand eu nu ti am acceptat insula facut de tine?
    Ori esti mapper ori iti bati banana de noi. Eu sincer la cat sa:mp am jucat pe servere, n am vazut nici o insula plutitoare.
    Sa nu te aud ca n ai facut ceva smk pentru ca nu erai platit. Daca dadeai dovada de seriozitate poate erai si platit.

  4. Salut, numele meu este Sorin si am varsta de 18 ani. Astazi vreau sa fac o prezentare la serverul unde lucrez acum.

    Info: Server-ul Old-Times este un server de tip RPG avand actiunea principala in oras-ul Los Santos, avand in total 11 locuri de munca si 14 factiuni.
    Staff: Server-ul nostru dispune de un staff capabil si matur.
    Fondator & Scripter: Fondatorii serverului Old-Times sunt SergiuNr1Adv, DNT si scripter-ul este qSorin_ (eu)

    Avem un gamemode stabil cu multe sisteme frumoase, avem sisteme de "pet , payday upgrade, dropgift, hourgift, crates, jobul zilei 25%,stage,vip,vip plus" si multe sisteme frumoase.

    FORUM: Forums - old-times.ro - forum
    PANEL: Old-Times RPG - UCP
    INDEX: Old-Times.ro - Index
    Discord: https://discord.gg/gy7kKTMKBq

    Deschiderea serverului Old-Times va avea loc saptamana viitoare.

  5. 2 minutes ago, TheGodfather said:

    Doar de la taskul acela face, cum am mentionat si in primul mesaj. Daca comentez taskul acela nu mai scad deloc tickuri cand sunt in masina si conduc.

    probabil sa fie problema si de la YSI, incerca un update.

     

  6. 7 hours ago, TheGodfather said:

    Salut, cand cineva se urca in masina si conduce, scad 5 tickuri. Stiu ca este de la taskul acesta pentru ca daca il comentez cu // si se urca cineva in masina si conduce nu mai scad tickuri.

    task newspeed[500]() {
        foreach(new i : Player) if(GetPlayerState(i) == PLAYER_STATE_DRIVER || GetPlayerState(i) == PLAYER_STATE_PASSENGER) Checkvehinfo2(i);
    }

    function Checkvehinfo2(i) {
        new str2[10], spe = Carspeed(GetPlayerVehicleID(i));
        format(str2, sizeof(str2), "%s%d", spe < 100 ? ("~g~") : spe >= 150 ? ("~r~") : ("~y~"), spe);
        PlayerTextDrawSetString(i, SpeedometerPTD[0], str2);
    }

    SpeedometerPTD[0] = CreatePlayerTextDraw(playerid, 510.333801, 342.652039, "~g~0");
        PlayerTextDrawLetterSize(playerid, SpeedometerPTD[0], 0.628332, 2.603848);
        PlayerTextDrawTextSize(playerid, SpeedometerPTD[0], 1280.000000, 1280.000000);
        PlayerTextDrawAlignment(playerid, SpeedometerPTD[0], 1);
        PlayerTextDrawColor(playerid, SpeedometerPTD[0], 0xFFFFFFFF);
        PlayerTextDrawUseBox(playerid, SpeedometerPTD[0], 0);
        PlayerTextDrawBoxColor(playerid, SpeedometerPTD[0], 0x80808080);
        PlayerTextDrawSetShadow(playerid, SpeedometerPTD[0], 1);
        PlayerTextDrawSetOutline(playerid, SpeedometerPTD[0], 1);
        PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[0], 0x00000083);
        PlayerTextDrawFont(playerid, SpeedometerPTD[0], 3);
        PlayerTextDrawSetProportional(playerid, SpeedometerPTD[0], 1);
        PlayerTextDrawSetSelectable(playerid, SpeedometerPTD[0], 0);

    Foloseste iteratori daca vr un timer global. sau pur si simplu fa timer la fiecare player.

  7. 10 minutes ago, Smulyz said:

    linia de cod

    CMD:Fly(players, params[])
    {
                if(IsPlayerAdmin(playerid))
                {
                StartFly(playerid);
                InitFly(playerid);
                SendClientMessage(playerid, {f9f9f9}, "Ai activat FlyMode!");
                }
                else
                {
                        SendClientMessage(playerid, {f9f9f9}, "Nu ai acces la aceasta comanda!");
                }
                return 1;
    }
    CMD:stopfly(playerid, paramsp[])
    {
                if(IsPlayerAdmin(playerid))
                {
                StopFly(playerid);
                SendClientMessage(playerid, {f9f9f9}, "Ai dezactivat FlyMode!");
                }
                else
                {
                SendClientMessage(playerid, {f9f9f9}, "Nu ai acces la aceasta comanda!");
                }
                return 1;
    }

     

    erori

    C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(313) : error 017: undefined symbol "playerid"; did you mean "players"?
    C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(315) : error 017: undefined symbol "playerid"; did you mean "players"?
    C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(316) : error 017: undefined symbol "playerid"; did you mean "players"?
    C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(317) : error 017: undefined symbol "playerid"; did you mean "players"?
    C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(321) : error 017: undefined symbol "playerid"; did you mean "players"?
    C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(330) : error 017: undefined symbol "f9f9f9"
    C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(334) : error 017: undefined symbol "f9f9f9"
    Pawn compiler 3.10.10              Copyright (c) 1997-2006, ITB CompuPhase
     

    Incearca asta:

    CMD:fly(playerid, params[])
    {
        if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xf9f9f9ff, "Nu ai acces la aceasta comanda!");
        
        StartFly(playerid);
        InitFly(playerid);
        return SendClientMessage(playerid, 0xf9f9f9ff, "Ai activat FlyMode!");
    }
    CMD:stopfly(playerid, params[])
    {
        if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xf9f9f9ff, "Nu ai acces la aceasta comanda!");
        
        StopFly(playerid);
        return SendClientMessage(playerid, 0xf9f9f9ff, "Ai dezactivat FlyMode!");
    }

    • Like 1
  8. 1 hour ago, tulb said:

    ceasul de pe server indica ora gresita, mereu cu o ora in urma am incercat sa ii contactez si pe cei de la host si mi au zis ca totul este in regula idei?

    Pai e simplu, daca ora nu este scazuta din gamemode atunci problema e de la host, au timezone ul pe alta tara, daca nu poti plusa tu ora.

  9. 3 hours ago, Zen RPG said:

    Deci sa inteleg ca va trebuie in prost sa va faca gamemodeul gratis si el nu se aleaga cu nimic pentru orele depuse pentru munca?

    Nu iti vad rostu sa ii mai comentezi la topic, odata ce e postat in Ianuarie, din Ianuarie pana in Iulie poate si-a gasit 4-5 prosti si si-a facut treaba.
    App: nu a mai fost conectat pe forum de pe 18 Mai!

  10. 23 minutes ago, TheGodfather said:

    up

    YCMD:despawncars(playerid, params[], help) {
        if(PlayerInfo[playerid][pAdmin] < 1) return SCMM(playerid, -1, AdminOnly);
        foreach(new i : SpawnedCars) {
            DestroyVehicle(i);
            Iter_Remove(SpawnedCars, i);
            SCMf(playerid, -1, "%d", i);
        }
       
        new string[100];
        format(string, sizeof(string), "[/despawncars] {FFFFFF}Admin %s destroyed all spawned cars.", GetName(playerid));
        if(GetPVarInt(playerid, "Cover") == 0) SendAdminMessage(COLOR_LIGHTGOLD, string, 1);
        return true;
    }

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