public static int GetNumVehicle()
{
int Count = 0;
for (uint i = 0; i < 9; i++)
{
if (PS3.Extension.ReadInt32(0x01C74980 + (i * 0x43
) != 0)
{
Count++;
}
}
return Count;
}
public static uint G_SpawnVehicle(uint Client, float[] Origin, float[] Angles, string Vehicle = "littlebird_mp", string Model = "vehicle_little_bird_armed")
{
if (string.IsNullOrEmpty(Vehicle))
Vehicle = "littlebird_mp";
int NumVehicle = GetNumVehicle();
if (NumVehicle != 
{
uint Entity = (uint)RPC.Call(0x001C058C);
RPC.Call(0x001C0B14, Entity, Origin);
RPC.Call(0x001C0D74, Entity, Angles);
RPC.Call(0x00320D98, Entity, 0x00fca280 + (Client * 0x280), Vehicle, Model);
return Entity;
}
return 0;
}
Copyright © 2025, NextGenUpdate.
All Rights Reserved.