Skip to content

Instantly share code, notes, and snippets.

View Local9's full-sized avatar
💭
I may be slow to respond.

127.0.0.1 Local9

💭
I may be slow to respond.
  • Bristol/Cornwall
View GitHub Profile
CreateThread(function()
Citizen.InvokeNative(0x144da052257ae7d8, true)
print("ENABLED NETWORK ALLOW REMOTE SYNC OF LOCAL PLAYERS")
end)
function GetNearestPlayerToMe()
local players = GetActivePlayers()
local closestPlayer, closestDistance = nil, 100000
local myPos = GetEntityCoords(PlayerPedId())
local myPlayerId = PlayerId()
@alexguirre
alexguirre / Particles Effects Dump.txt
Last active April 16, 2024 05:45
GTA V Particle Effects Dump
# Thanks to CodeWalker for the code to read .ypt files: https://github.com/dexyfex/CodeWalker
#
# Format:
# [asset_name]
# effect_name_1
# effect_name_2
#
[core]
bul_gravel_heli
internal static class DamagePack
{
public static void ApplyDamagePack(this Ped ped, string damagePackName, float damage, float multiplier)
{
NativeFunction.Natives.ApplyPedDamagePack(ped, damagePackName, damage, multiplier);
}
public const string BigHitByVehicle = "BigHitByVehicle";
public const string SCR_Dumpster = "SCR_Dumpster";
public const string SCR_Torture = "SCR_Torture";
using Rage;
using Rage.Native;
internal class PedHeadshot
{
private uint handle;
public uint Handle { get { return handle; } }
private Ped ped;
public Ped Ped { get { return ped; } }