Jump to content

Master18

Membru
  • Posts

    51
  • Joined

  • Last visited

Posts posted by Master18

  1. Acum 11 ore, vlady100 a spus:

    nu e făcut de el, eu lam cumpărat și lam postat acum ceva timp pe net. gamemod-ul este făcut de frappy, are câteva chestii interesante dar e praf.....avea niște buguri, nu era terminat!

    Eu recomand acest gm, merge sa faci ceva din el(stergi tot si il faci iar) e pornit de la w3op(Ideal pentru rpg) eu lucrez pe el, am refacut joburile si factiunile pana acuma

  2. Problema intalnita (descriere):Cand dau startwork imi apare la td doar textul "Se incarca..." si nu se mai schimba in textul "Condu cu minim 25km bla bla", TD-URILE Le-am pus la OnPlayerConnect
    Ero(area / rile) / warning-(ul / urile):-
    Liniile de cod / sursa / script-ul(obligatoriu):Functia:

    if(PlayerInfo[pJob] == 1)
                {
                    new newcar = GetPlayerVehicleID(i);
                    if(GetVehicleModel(newcar) == 532 && FarmerTimer != 0)
                    {
                        new Float:x, Float:y, Float:z, Float:Speeed;
                        GetVehicleVelocity(GetPlayerVehicleID(i), x, y, z);
                        Speeed = floatmul(floatsqroot(floatadd(floatadd(floatpower(x, 2), floatpower(y, 2)),  floatpower(z, 2))), 100.0);
                        Speed = floatround(floatdiv(Speeed, 0.75), floatround_floor);
                        if(Speed >= 25 && FarmerTimer >= 1)
                        {
                            //new string[256];
                            if(PlayerToPoint(300.0, i, -202.4156,-11.0236,3.1094))
                            {
                                FarmerTimer --;
                                format(string, sizeof(string), "Mergi cu combina inca %d secunde.", FarmerTimer);
                            }
                            else {
                                format(string, sizeof(string), "Mergi cu combina inca %d secunde~n~~r~(!) ~w~Nu te aflii in apropierea fermei.", FarmerTimer);
                            }
                            PlayerTextDrawSetString(i, FermierTD, string);
                        }
                        else
                        {
                        //    new string[256];
                            format(string, sizeof(string), "Mergi cu combina inca %d secunde~n~~r~(!) ~w~Trebuie sa mergi cu minim ~b~25 km~n~", FarmerTimer);
                            if(!PlayerToPoint(200.0, i, -202.4156,-11.0236,3.1094))
                            {
                                format(string, sizeof(string), "Mergi cu combina inca %d secunde.~n~~r~(!) ~w~Trebuie sa mergi cu minim ~b~25 km~n~~r~(!) ~w~Nu te aflii in apropierea fermei.", FarmerTimer);
                            }
                            PlayerTextDrawSetString(i, FermierTD, string);
                        }
                        if(FarmerTimer == 0)
                        {
                            SetPlayerCheckpoint(i, -410.3464, -1426.3804, 25.7209, 5);
                            PlayerTextDrawSetString(i, FermierTD, "Mergi la checkpoint-ul rosu marcat de pe mapa~n~... pentru a lua sacul cu faina!");
                            FinalCP = 1;
                        }
                    }

    TD:

    Spoiler

        FermierTDs[0] = TextDrawCreate(166.919601, 205.666488, "usebox");
        TextDrawLetterSize(FermierTDs[0], 0.000000, 5.909444);
        TextDrawTextSize(FermierTDs[0], 26.111267, 0.000000);
        TextDrawAlignment(FermierTDs[0], 1);
        TextDrawColor(FermierTDs[0], 0);
        TextDrawUseBox(FermierTDs[0], true);
        TextDrawBoxColor(FermierTDs[0], 102);
        TextDrawSetShadow(FermierTDs[0], 0);
        TextDrawSetOutline(FermierTDs[0], 0);
        TextDrawFont(FermierTDs[0], 0);

        FermierTDs[1] = TextDrawCreate(168.325027, 203.916580, "usebox");
        TextDrawLetterSize(FermierTDs[1], 0.000000, 6.283518);
        TextDrawTextSize(FermierTDs[1], 24.705707, 0.000000);
        TextDrawAlignment(FermierTDs[1], 1);
        TextDrawColor(FermierTDs[1], 0);
        TextDrawUseBox(FermierTDs[1], true);
        TextDrawBoxColor(FermierTDs[1], 892744874);
        TextDrawSetShadow(FermierTDs[1], -2);
        TextDrawSetOutline(FermierTDs[1], 0);
        TextDrawFont(FermierTDs[1], 0);

        FermierTDs[2] = TextDrawCreate(66.998535, 207.083221, "~y~Job Info");
        TextDrawLetterSize(FermierTDs[2], 0.391434, 1.570833);
        TextDrawAlignment(FermierTDs[2], 1);
        TextDrawColor(FermierTDs[2], -1);
        TextDrawSetShadow(FermierTDs[2], 0);
        TextDrawSetOutline(FermierTDs[2], 1);
        TextDrawBackgroundColor(FermierTDs[2], 255);
        TextDrawFont(FermierTDs[2], 3);
        TextDrawSetProportional(FermierTDs[2], 1);

        FermierTD[playerid] = CreatePlayerTextDraw(playerid, 33.733543, 226.916564, "~y~Se incarca...");
        PlayerTextDrawLetterSize(playerid, FermierTD[playerid], 0.205430, 1.034165);
        PlayerTextDrawAlignment(playerid, FermierTD[playerid], 1);
        PlayerTextDrawColor(playerid, FermierTD[playerid], -1);
        PlayerTextDrawSetShadow(playerid, FermierTD[playerid], 1);
        PlayerTextDrawSetOutline(playerid, FermierTD[playerid], 0);
        PlayerTextDrawBackgroundColor(playerid, FermierTD[playerid], 255);
        PlayerTextDrawFont(playerid, FermierTD[playerid], 1);
        PlayerTextDrawSetProportional(playerid, FermierTD[playerid], 1);


    Imagini / Video (optional):nu creca este nevoie
    Ati incercat sa rezolvati singur?:da

     
  3. La 03.01.2016la5:02, WopsS a spus:

    Folosesti nativechecker si vezi ce nu iti gaseste.

    C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(173) : warning 201: redefinition of constant/macro (symbol "pInfo")
    C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(179) : error 021: symbol already defined: "PlayerInfo"
    C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(3767) : error 028: invalid subscript (not an array or too many subscripts): "fspInfo"
    C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(3767) : warning 215: expression has no effect
    C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(3767) : error 001: expected token: ";", but found "]"
    C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(3767) : error 029: invalid expression, assumed zero
    C:\Users\GeorgeXD\Desktop\bsgaming\gamemodes\ro-rpg.pwn(3767) : fatal error 107: too many error messages on one line
    e de la gm-ul tau pornit si da erorile alea, ce fac?

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