Carregando...
0 arquivos curtidos
5 comentários
0 vídeos
0 envios
0 seguidores
  • Default

    I had problems using this mod for some odd reason so I had to change this segment of the code:

    local PedTab = {}
    local VehTab = {}
    local player = PLAYER.PLAYER_ID()
    local playerPed = PLAYER.PLAYER_PED_ID()
    pplayer = PLAYER.GET_PLAYER_INDEX()
    local PedTab = PED.GET_PED_NEARBY_PEDS(playerPed, 1, 1)
    local VehTab = PED.GET_PED_NEARBY_VEHICLES(playerPed, 1)
    PLAYER.SET_MAX_WANTED_LEVEL(5)
    neverwanted = false

    And it worked

    05 de Abril de 2020
  • Default

    I was able to figure out the problem with scripthook.NET. I deleted BOTH dll files in the C:\V Creator\Files\DLLS directory and replaced it with the most current version of scripthook.NET and compiled this new test code to get a ped to follow me that I aimed at. Works flawless! Thank you

    using System;
    using System.Windows.Forms;
    using GTA;
    using GTA.Native;
    using GTA.Math;

    namespace ModName // IMPORTANT REPLACE THIS WITH YOUR MODS NAME
    {
    public class Main : Script
    {
    /// These variables are for Mod Information on startup
    bool firstTime = true;
    string ModName = "MOD NAME";
    string Developer = "YOUR NAME";
    string Version = "1.0";

    public Main()
    {
    Tick += onTick;
    KeyDown += onKeyDown;
    Interval = 1;
    }

    private void onTick(object sender, EventArgs e)
    {
    // Mod info
    if (firstTime)
    {
    UI.Notify(ModName + " " + Version + " by " + Developer + " Loaded");
    UI.Notify(ModName + " created with ~g~FIFASam's~w~ \"GTA 5 Mod Creator\"");
    firstTime = false;
    }
    // start your script here:

    }

    private void onKeyDown(object sender, KeyEventArgs e)
    {
    if (e.KeyCode == Keys.J)
    {
    Player targetPlayer = Game.Player;
    Ped playerPed = Game.Player.Character;
    PedGroup playerGroup = playerPed.CurrentPedGroup;
    Entity targetPed = targetPlayer.GetTargetedEntity();
    bool isPed = false;

    isPed = Function.Call<bool>(Hash.IS_ENTITY_A_PED, targetPed);

    if(isPed == true)
    {
    Function.Call(Hash.SET_PED_AS_GROUP_MEMBER, targetPed, playerGroup);
    Function.Call(Hash.SET_PED_COMBAT_ABILITY, targetPed, 100);
    UI.Notify("Ped Added");
    }

    } // anything inside of the brackets happen when j is pressed
    }

    }
    }

    Expandir para ler o comentário completo
    28 de Março de 2019
  • Default

    Also crashes when selecting Downloads > Community .NET Hook & NativeUI
    ScriptHookV & VCreate Update menu items work though

    28 de Março de 2019
  • Default

    Download, extracted to root C drive, out of the box sample script provided and build to test... Got this. Any solutions?
    http://oi65.tinypic.com/21eq8pg.jpg

    28 de Março de 2019
  • Default

    Best companion mod out there imo because I don't have to open menyoo and thumb through a bunch of menus to make someone follow my player. One suggestion though, make the voice default to the one used by the player or skin I choose. I have a female skin I use sometimes and it sounds batty hearing Franklin's voice lol.

    25 de Março de 2019