GithubHelp home page GithubHelp logo

gta5-tiktok-integration's Introduction

GTA5 TikTok Integration

GTA5 Plugin to control GTA5 via Webhook events from TikTok LIVE. I recommend TikFinity to setup Webhooks on certain events.

Installation

  • Make sure that GTA5 is not running.
  • Download the latest plugin version from the releases.
  • Extract the downloaded ZIP archive.
  • Copy all files and folders into your GTA 5 installation directory (The directory where the GTA5.exe is located).
    The default installation directory is: C:\Program Files\Rockstar Games\Grand Theft Auto V
    If you get it through Steam, the path is: E:\SteamLibrary\steamapps\common\Grand Theft Auto V (The drive letter can vary)
  • Restart GTA5 and start playing in offline/story mode.
  • You can check if the plugin is running by opening http://127.0.0.1:6721/ in your browser.
    If everything is working you will get the message Its working!.

Please note that the plugin installation may need to be repeated after a GTA5 update, since the GTA5 update process overwrites all files.

Webhook Usage

The plugin offers several webhook URLs that can be used to trigger different actions in the game.
The basic syntax is: http://127.0.0.1:6721/<command>:<param>
All commands are defined in GTAVWebhookScript.cs.

Kills the player.

Spawn the specified vehicle near the player. In this case an Felon is created.
You can find here a list with all vehicle names: https://web.archive.org/web/20230514212045/https://wiki.gtanet.work/index.php?title=Vehicle_Models

Removes all previously spawned vehicles.

Sets the health status of the currently used vehicle to 100%.

Explodes all vehicles within a radius of 20 meters.

Gives the player the specified weapon. In this case a CombatMG.
You can find a list with all weapon names here: https://wiki.gtanet.work/index.php?title=Weapons_Models

Sets the ammunition of the current weapon to the maximum.

Sets the time to the specified hour value. In this case to 02 (=02:00) which causes the world to become dark. Use 13 to make it bright again.

Sets the weather to the specified value. In this case Raining. Available values: Halloween, Clear, Unknown, Neutral, Clearing, Blizzard, Christmas, Clouds, ExtraSunny, Foggy, Overcast, Raining, Smog, Snowing, Snowlight, ThunderStorm

Increases the wanted level by 1. There are 5 wanted levels (1-5).

Decreases the wanted level by 1. There are 5 wanted levels (1-5).

Sets the wanted level to 5.

Adds the specified amount to the player wallet. In this case, 10 are added. If you want to deduct money, use a negative number value in the URL (e.g. -10).

Sets the money balance to the specified value. In this case 500.

Spawn the specified number of attackers to attack you. In this case 1 attacker will be spawned.

Spawn the specified number of attackers to attack you with guns. In this case 1 attacker will be spawned.

This will give all already spawned attackers a weapon to attack you for a certain amount of time. In this case, for 30 seconds. It can also cause the attackers to shoot each other, which gives you an advantage :)

This removes a specified number of previously spawned attackers. In this case 5.

If you are sitting in a car, this command will kick you out of the car.

Starts a Skydive task.

This will increase or decrease your health with the specified value. In this case, your health will be increased by 20. To reduce the health, use a negative value (e.g. -20).

More commands are comming soon...

TikFinity Integration

The easiest way to trigger the webhooks through TikTok LIVE events is to use TikFinity. You can integrate up to 5 different webhooks for free. To integrate a webhook do the following:

Create Action

  • Go to Actions & Events
  • Click on Create new Action
  • Select Trigger Webhook
  • Paste one of the Webhook URLs above (based on what you want to trigger in the game) and remember to adjust the number in the command if necessary. E.g. how many attackers you want to spawn.
  • Scroll down and save the action.

Create Event

  • Click on Create new Event
  • Define by what the action should be triggered. For example, "Sending a specific gift".
  • At "Trigger all of these actions" select the previously created action.
  • Scroll down and save the event.

Repeat the steps for all webhooks you want to integrate.

Troubleshooting

If the plugin does not work as expected, it might be worth taking a look at the log files in the GTA 5 installation folder. This includes:

  • asiloader.log
  • ScriptHookV.log
  • ScriptHookVDotNet.log
  • GTAVWebhook.log

In case the loading of the ScriptHookVDotNet library fails, the reason could be a missing .NET Framework version. Please install .NET Framework 4.8 and try again.

Support

If you have any questions, you can contact me on Discord: Smeys#5697

Contribute

This is an open source project. If you want to implement new features, feel free to create a pull request.

gta5-tiktok-integration's People

Contributors

smeysu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gta5-tiktok-integration's Issues

Problem with some commands

Unfortunately, some commands don't work, some do. I don't know why the plugin isn't working properly. If anyone knows what could be causing it not to work, please help me.

number of vehicle spawns

Hello, the spawn number of vehicles is around 130. I also edited the gameconfig file but I could not increase the number. How can I increase it?

What is parameter of username npc

Hi!, Does anyone know the username parameters webhooks in GTA5 Integration?
because I'm trying to send a webhook in node js, if the npc spawns, the username tiktok not showing, only the npc spawns
can anyone tell me?

Thanks you

Random car spawn

Hello, what is the command for random car spawn in gta5 tiktok live

Multiply spawned vehicle

Hi i wanna ask,

Firstly i wonder how can i spawn vehicles e.g
Multiple rhino with one web hook is it possible?

Thanks

UPDATE

when update sir?? im from indonesia, your project is powerfull

Birthplace of the attackers

What if the attackers spawn in front of the character? At the moment, the attackers are formed inside the character.

spawn

ciao ho fatto tutto il procedimento come faccio ha spawnare nel posto dv cadono i veicoli?
WhatsApp Image 2023-10-10 at 21 39 34

GTA mod for tiktok

This morning I turned it on to go and play the mods and they no longer work. I hope that in these days you will release the next one. Thanks, I'll wait news!

Error upon startup

I've followed the tutorial to install. I receive an error code when I try to start the game.

self-selected coordinates

Hello.
How can we get vehicles and people to spawn at self-selected coordinates? when i use Tikfinity.

New commands

Hello. I need new commands. Give all enemy (weapon name) and blackhole.

Red usernames on attackers

How to remove usernames written in game red text? If the number of attackers is high, the game is almost invisible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.