Jump to content

Grig22

Membru
  • Posts

    46
  • Joined

  • Last visited

    Never

Posts posted by Grig22

  1. Auzi ma , inteligentule? De ce nu ii rezolvi tu eroarea ma? :-j

    La saritu` cu gura sunteti buni toti, dai si tu copy+paste sa te afli in treaba.

    warning 202: number of arguments does not match definition

    De cand warningul asta, apare pentru ca nu e alineat cum trebuie? Citeste prietene wiki.

    E valabil si pt tine necalificatule.Tine-ti plitu.  :lipsrsealed:

  2. [pawn]//ZONES

    //==============================================================================

    bLackLisT = GangZoneCreate(128.4566, -326.9805, 385.3699, 58.38938);

    Streamer_TickRate(30); SetGameModeText("Romanian Server (RO/ENG)");

    //ZONES

    //==============================================================================

    GangZoneShowForPlayer(playerid, bLackLisT, 0xFF000096);

    return 1;

    }

    SetPlayerInterior(playerid, 0);

    CMD:lv(playerid, params[])          return TPlayer(playerid, "Las Venturas", "lv", 2025.8074,1545.5157,10.8187);[/pawn]

  3. Pune asta jos de tot in GM:

    stock aCreateThing(playerid, thingid, orderid)
    {
        new Vehicles[250];
        new world = GetPlayerVirtualWorld(playerid);
        new interior = GetPlayerInterior(playerid);
        new Float:X, Float:Y, Float:Z, Float:Angle;
        if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
            DestroyVehicle(GetPlayerVehicleID(playerid));
            GetPlayerPos(playerid, X, Y, Z);
                GetPlayerFacingAngle(playerid, Angle);
            CurrentSpawnedVehicle[ playerid ] = Vehicles[orderid] = CreateVehicle(thingid, X, Y, Z + 3, Angle, -1, -1, 40);
                    LinkVehicleToInterior(CurrentSpawnedVehicle[ playerid ], interior);
            SetVehicleVirtualWorld(CurrentSpawnedVehicle[ playerid ], world);
            SetVehicleZAngle(CurrentSpawnedVehicle[ playerid ], Angle);
            PutPlayerInVehicle(playerid, CurrentSpawnedVehicle[ playerid ], 0);
            SetPlayerInterior(playerid, interior);
        }
    
    }
    

  4.  //--------------------------------------------------------------------------
        //Player Attached Objects
        //--------------------------------------------------------------------------
        SetPlayerAttachedObject(playerid, 0, 19079, 1, 0.330000, -0.079999, 0.150000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 );
        SetPlayerAttachedObject(playerid, 1, 18693, 5, -0.100000, 0.000000, -1.750000, 0.000000, 0.000000, 0.000000, 100.000000, 1.000000, 1.000000 );
        SetPlayerAttachedObject(playerid, 2, 18693, 6, 0.000000, 0.000000, 1.750000, 180.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 );
       	//SetPlayerAttachedObject(playerid, 3, 19065, 2, 0.121128, 0.023578, 0.001139, 222.540847, 90.773872, 211.130859, 1.098305, 1.122310, 1.106640 ); // SantaHat
        //--------------------------------------------------------------------------
        SetPlayerPos(playerid, 58.3462,2016.4642,21.8646,6.9442);
        SetPlayerFacingAngle(playerid, 90.177986);
        GameTextForPlayer( playerid, "~>~~g~~h~Select ~w~Your Skin ~<~", 1000, 6 );
        SetPlayerCameraLookAt(playerid, 58.3462,2016.4642,21.8646,6.9442);
        SetPlayerCameraPos(playerid, 58.3462 + (25 * floatsin(-90.177986, degrees)), -2016.4642 + (25 * floatcos(-90.177986, degrees)), 8646,6.9442);
        ApplyAnimation( playerid, "DANCING", "DAN_Loop_A", 4.0, 1, 0, 0, 0, 0 );
        ApplyAnimation( playerid, "DANCING", "DAN_Loop_A", 4.0, 1, 0, 0, 0, 0 );
        SetPlayerInterior( playerid, 0 );
    

  5. Salut!M-am gandit sa fac un tutorial despre cum creezi un 3D text!

    Sa incepem:

    Create3DTextLabel(text, color, X, Y, Z, Distance, virtualworld, testLOS)
    Acum sa va explic fiecare functie in parte: text=Mesajul trimis color=culoare textului X=coordonata X y=coordonata y z=coordonata z Distence=Distanta de la care poti vedea acest text 3D virtualworld - Lumea virtuala in care sa apara textul 3D, ( -1 pentru a aparea la toate lumiile virtuale ) textLOS=Acesta testeaza linia de vedere astfel incat sa nu se vada prin obiecte ( se foloseste 0 sau 1 ). Si un exemplu :
    Create3DTextLabel ("Bine ai venit pe server.Speram sa te distrezi.", 0xFFFFFFFF, 2148.4529,-1485.1881,26.6237, 50, 0);

    Sper sa va fie de folos!

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