• 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.

PS3 [C#] Entity Spawning Script 1.16

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.
  • @ QM|T_JinX:
    yea im good its hot as hell down here tho
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    aoma is our newest member. Welcome!
  • Chat Bot:
    ariel157 is our newest member. Welcome!
  • Chat Bot:
    kashaaf is our newest member. Welcome!
  • Chat Bot:
  • Chat Bot:
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    killa2! is our newest member. Welcome!
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    xperttechy is our newest member. Welcome!
  • Chat Bot:
    burhanpc is our newest member. Welcome!
  • Chat Bot:
    jerpator is our newest member. Welcome!
  • Chat Bot:
    kazuma18 is our newest member. Welcome!
  • Chat Bot:
    kazuma18 has posted a new reply in the thread "Console ID #8660".
  • Chat Bot:
    Blazed420999 is our newest member. Welcome!
  • Chat Bot:
    charlles is our newest member. Welcome!
  • Chat Bot:
    charlles has posted a new reply in the thread "Console ID #8660".
  • Chat Bot:
    CFWMODDINGCEX is our newest member. Welcome!
  • Chat Bot:
    Yote1234 is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    Mariglen is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    WxRRioR_ is our newest member. Welcome!
      Chat Bot: WxRRioR_ is our newest member. Welcome!
      Back
      Top