Jump to content

SkyLzo98

Membru
  • Posts

    30
  • Joined

  • Last visited

    Never

Posts posted by SkyLzo98

  1. Am nevoie de ajutor, normal ar trebui sa ma lase sa intru in masina, dar ma scoate afara spunandumi ca nu sunt eu ownerul masinii

    [pawn]#include <a_samp>

    new SkyLzo98;

    public OnGameModeInit()

    SkyLzo98 = AddStaticVehicle(411, 1799.6177, -1854.6157, 14.8478, 0.0000, 1, 0);

    return 1;

    }

    public OnPlayerStateChange(playerid, newstate, oldstate)

    {

    if(newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == SkyLzo98)

    {

    new name[MAX_PLAYER_NAME];

    GetPlayerName(playerid, name, sizeof(name));

    if(strcmp(name, "SkyLzo98", false))

    SendClientMessage(playerid, 0x281aeb, "Bine ai venit in masina ta, SkyLzo98");

    {

    RemovePlayerFromVehicle(playerid);

    SendClientMessage(playerid, 0x281aeb, "Aceasta masina nu iti apartine!Apartine lui SkyLzo98");

    }

    }

    return 1;

    }

    [/pawn]

  2. Era un COS (car owner ship) in care erau mai multe locati de unde puteai cumpara masini de exemplu is mai multe masini si eu intru in una si dau /buycar sa nu ma lase sa o conduc ci sa imi apar una intr-o locatie anume si cand intra cineva in masina sa il arunce afara si sa ai zica cine este proprietarul  DACA IL AVETI VA ROG FRUMOS SA MI-L DATI

  3. =-" post="125531" timestamp="1352123832"]

    Adauga asta pe la sfarsitul scriptului:

    [pawn]

    stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)

    {

        if(IsPlayerConnected(playerid))

            {

                new Float:oldposx, Float:oldposy, Float:oldposz;

                new Float:tempposx, Float:tempposy, Float:tempposz;

                GetPlayerPos(playerid, oldposx, oldposy, oldposz);

                tempposx = (oldposx -x);

                tempposy = (oldposy -y);

                tempposz = (oldposz -z);

                if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))

                {

                    return 1;

                }

            }

            return 0;

    }[/pawn]

    K am sa incerc acum sper sa mearga :X

  4. C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3099) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3103) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3115) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3119) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3123) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\GTA.THEG.RO\gamemodes\Godfather.pwn(3127) : error 004: function "PlayerToPoint" is not implemented

    Imi apar peste 15 de astea cand vreau sa compilez de ce ma ajutati va rog frumos sa o repar

  5. As vrea sa stiu cum as putea pune pe un server masini personale de exemplu Vreau sa pun un infernus sa apartina doar unui membru si sa nu trebuiasca sa fie cumparata adica sa ai pun eu proprietarul si cand vrea sa intre un alt playeri in el sa nu il lase si sa scrie Proprietar:Numele

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