SV_ExecuteClientCommandHook (Used For Button Monitoring, You Will See In Source :p)
SV_ExecuteClientCommandCustom (Allows You To Call SV_ExecuteClientCommand on Any Client!)
A Bunch of other stuff that may be useful :p
DPAD Down - Spawns The Bot (You Will See In Killfeed)
DPAD Up - Sets The Team of The Most Recent Spawned Bot
DPAD Right - Sets The Class of the Most Recent Spawned Bot
You could do this in a much better way but for experimenting this is how I did it (feel free to change idfc)
SV_ExecuteClientCommandHook (Used For Button Monitoring, You Will See In Source :p)
SV_ExecuteClientCommandCustom (Allows You To Call SV_ExecuteClientCommand on Any Client!)
A Bunch of other stuff that may be useful :p
DPAD Down - Spawns The Bot (You Will See In Killfeed)
DPAD Up - Sets The Team of The Most Recent Spawned Bot
DPAD Right - Sets The Class of the Most Recent Spawned Bot
You could do this in a much better way but for experimenting this is how I did it (feel free to change idfc)
public void SpawnBot()
{
Int32 clientTemp = PS3.Extension.ReadInt32((UInt32)RPC.Call(0x002189D);
RPC.Call(0x00215310, client_s(clientTemp), "mr " + PS3.Extension.ReadInt32(0x1BE5BEC + " 3 autoassign", 1, 0);
RPC.Call(0x00215310, client_s(clientTemp), "mr " + PS3.Extension.ReadInt32(0x1BE5BEC + " 10 class1", 1, 0);
}
public static UInt32 client_s(Int32 clientIndex)
{
return 0x34740000 + (0x97F80 * (UInt32)clientIndex);
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.