Jump to content

RedForce_ForTeam

Membru
  • Posts

    18
  • Joined

  • Last visited

    Never

Posts posted by RedForce_ForTeam

  1. Salutare...tot incerc sa repar un bug dar chiar  nu am idee ce pot sa fac :-?? Folosesc un sistem de masini personale ,iar la unele comenzi pe care le execut primesc teleport cu tot cu masina si eu si ceilalti playerii in blueberry :-??  de exemplu cand folosesc : /vcall primim toti teleport dupa 10-15 secunde chiar daca in comanda nu e niciun teleport facut :) din ce cauza ne teleporteaza pe toti acolo?

    Comanda /vcall :

    [pawn]dcmd_vcall(playerid, params[])

    {

    new Slot;

        if(sscanf(params,"d",Slot))return SendClientMessage(playerid, Red, "[Eroare]Foloseste: /vcall [slot Masina]");

        if(Slot == 1)

        {

            if(Car1(playerid) == 0) return SendClientMessage(playerid, Red, "Nu ai nicio masina pe SLOT 1");

            SetTimerEx("Timer1",5000,false,"i",playerid);

            SendClientMessage(playerid, COLOR_GRAD1, "Masina ta de pe SLOT 1 va fi adusa la tine.Asteapta 5 secunde...");

    }

    else if(Slot == 2)

    {

        if(Car2(playerid) == 0) return SendClientMessage(playerid, Red, "Nu ai nicio masina pe SLOT 2");

        SetTimerEx("Timer1",5000,false,"i",playerid);

        SendClientMessage(playerid, COLOR_GRAD1, "Masina ta de pe SLOT 2 va fi adusa la tine.Asteapta 5 secunde...");

    }

    else if(Slot == 3)

    {

        if(Car3(playerid) == 0) return SendClientMessage(playerid, Red, "Nu ai nicio masina pe SLOT 3");

        SetTimerEx("Timer1",5000,false,"i",playerid);

        SendClientMessage(playerid, COLOR_GRAD1, "Masina ta de pe SLOT 3 va fi adusa la tine.Asteapta 5 secunde...");

    }

    return 1;

    }[/pawn]

  2. O solutie ar fi sa mergi la RegistrationStep,mai exact dai si tu search la o propozitie care iti apare inainte sa se blocheze. Sa zic ca pe server iti arata "acum iti vom prezenta un tutorial" -> cauta asta in gamemode si dedesupt trebuie sa fie linia " TutTime[playerid] = 1; " care trebuie stearsa si pune SetPlayerSpawn(playerid); ca sa te spawneze si sa scapi de tutorial ! In caz de doresti tutorial urmareste daca e facut corect scriptul :P

  3. copie folderul "scriptfiles" pe serverul tau si iti va merge.

    Cum sa scapi de warning:

    Exemplu la warning asta:

    [pawn]D:\GM SAMP\samp03\gamemodes\new.pwn(53139) : warning 203: symbol is never used: "CapsOnEnd"[/pawn]

    intra in GM, dai ctrl+f si cauta new CapsOnEnd si sterge acest rand ! Pentru fiecare dintre warning-uriule cu symbol is never used fa asta!

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