Jump to content

Reset

Membru
  • Posts

    178
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Reset

  1. 14 hours ago, SkillZ_IT. said:

    Nu are... Doar ca la 50 on pica, când cumperi o casa / biz nu o mai ai după restart. La /buycar la /v la /park și tot așa. 

    Bigzone nu o sa fie niciodată un gamemode stabil și bun

    Exact,si plus ca se da reset la baza de date,daca atingi 200 in users.sql am patit cand eram unpic mai nou in lumea pawno.

  2.  

    Am bagat un sistem_accesori,de pe sa-mp.ro

    am facut asa:

    am urcat ce trebuia in baza de date,

    am pus sistem_accesori.inc in pawno/includes.

    dupa m0am dus in gamemode si am pus #include <sistem_accesori> 

    si cand compilez imi da asta Pawn Compiler Library has stopped working

    Stie cineva?

  3. Salut,astazi va voi arata comanda /up si /flycar fara size.

    Ca multe gamemode are size,nu e un tutorial mare,si astept hate pentru cei care se dau marii.

    Sa incepem:

    Pai adaugam comenzile nu e mult :))

    CMD:up(playerid,params[]) {
        if (PlayerInfo[playerid][pAdmin] >= 1) {
             new Float:slx, Float:sly, Float:slz;
               GetPlayerPos(playerid, slx, sly, slz);
            SetPlayerPosEx(playerid, slx, sly, slz+5.0);
            SCM(playerid, -1, "Your position has been changed.");
        }
        return 1;
    }
    CMD:down(playerid,params[]) {
        if (PlayerInfo[playerid][pAdmin] >= 1) {
             new Float:slx, Float:sly, Float:slz;
               GetPlayerPos(playerid, slx, sly, slz);
            SetPlayerPosEx(playerid, slx, sly, slz-3.0);
            SCM(playerid, -1, "Your position has been changed.");
        }
        return 1;
    }

    Si /flycar

    CMD:flycar(playerid, params[]) {
        if (PlayerInfo[playerid][pAdmin] >= 1) {
            new Float:PosX,Float:PosY,Float:PosZ,car = GetPlayerVehicleID(playerid);
               if (IsPlayerInAnyVehicle(playerid))
            {
                   GetVehiclePos(car, PosX, PosY, PosZ);
                   SetVehiclePos(car, PosX, PosY+5.0, PosZ+10.0);
               }
               else
            {
                GetPlayerPos(playerid, PosX, PosY, PosZ);
                SetPlayerPosEx(playerid, PosX, PosY+10.0, PosZ+10.0);
            }
        }
        return 1;
    }

     

  4. Salutare,am revenit iara cu un tutorial,nu stiu daca a fost facut pe forumul acesta.

    Astazi va voi arata comanda /speedboost.

    Deci sa incepem:

    Adaugam undeva

    new SpeedBoost[MAX_PLAYERS];

    Iara dupa mergem la OnPlayerKeyStateChange si adaugam:

    if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
            if(newkeys & KEY_FIRE)
            {
                if(SpeedBoost[playerid] == 1)
                {
                    new Float:vx, Float:vy, Float:vz;
                    GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz);
                    SetVehicleVelocity(GetPlayerVehicleID(playerid), vx * 1.8, vy *1.8, vz * 1.8);
                }
            }
        }

    Dupa adaugam comanda aceasta:

    CMD:speed(playerid, params[])
    {
        if (PlayerInfo[playerid][pAdmin] >= 6)
        {
            if(SpeedBoost[playerid])
            {
                SpeedBoost[playerid] = 0;
                SCM(playerid, COLOR_RED, "[Speed Boost]Ai dezactivat comanda Speed Boost!");
            }
            else
            {
                SpeedBoost[playerid] = 1;
                SCM(playerid, COLOR_GREEN, "[Speed Boost]Ai activat comanda Speed Boost!");
            }
        }
        return 1;
    }

    Acesta a fost si tutorialul de astazi,daca mai este undeva,imi puteti spune si cerem remove la topic.

    Deci salut.

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