PS3 [C#] Entity Spawning Script 1.16

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.
Oct 29, 2013
283
191
53
How To Use

Code:
spawnEntity(ModelName, X, Y, Z, Yaw, Pitch, Roll)

C# Code
public class Offsets
{
public static uint
G_Client = 0x177E928,
G_Entity = 0x16B7920,
G_EntitySize = 0x31C,
G_SetModel = 0x277644,
G_Spawn = 0x278C60,
SP_Script_Model = 0x2670E8;
}

public UInt32 G_Spawn()
{
return RPC.Call(Offsets.G_Spawn);
}

public UInt32 spawnEntity(String ModelName, Single X, Single Y, Single Z, Single Yaw = 0, Single Pitch = 0, Single Roll = 0)
{
UInt32 Ent = G_Spawn();
Console.Write(Ent + "\n");
DEX.Extension.WriteFloat((Ent + 0x134), X);
DEX.Extension.WriteFloat((Ent + 0x13C), Y);
DEX.Extension.WriteFloat((Ent + 0x138), Z);
DEX.Extension.WriteFloat((Ent + 0x140), Yaw);
DEX.Extension.WriteFloat((Ent + 0x144), Pitch);
DEX.Extension.WriteFloat((Ent + 0x148), Roll);
RPC.Call(Offsets.G_SetModel, Ent, ModelName);
RPC.Call(Offsets.SP_Script_Model, Ent);
Thread.Sleep(20);
return Ent;
}

Some Models
Code:
t6_wpn_supply_drop_ally
t6_wpn_supply_drop_axis
t6_wpn_turret_sentry_gun
veh_t6_drone_quad_rotor_mp
german_shepherd
prop_suitcase_bomb
defaultactor
defaultvehicle
mp_flag_neutral
mp_flag_green
mp_flag_red
p6_dogtags
p6_dogtags_friend

Troubleshooting
If it is freezing you upon trying to spawn an entity try using this RPC
BO2 1.16 Fixed RPC > http://pastebin.com/fsLRrmuN

-TacticalLobbies

CREDITS Shark
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    skaniss is our newest member. Welcome!
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    fran88dm is our newest member. Welcome!
  • Chat Bot:
    gio3103 is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    fun79ink is our newest member. Welcome!
  • @ lurch6661:
    zap
  • @ QM|T_JinX:
    zap
  • @ QM|T_JinX:
    im going to bed night brother
  • @ lurch6661:
    night bro tc
  • @ QM|T_JinX:
    tc
  • Chat Bot:
    hlittle380 is our newest member. Welcome!
  • Chat Bot:
    DeineMamaSpieltTetris is our newest member. Welcome!
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    xxuserxx12345 is our newest member. Welcome!
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    axecon is our newest member. Welcome!
  • Chat Bot:
    fernando medina has left the room.
      Chat Bot: fernando medina has left the room.