• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make obj MW3.by lewisbibo
#1
public unsafe void Fonction_Create_Object(float OBJ_Xs, float OBJ_Ys, float OBJ_Zs, float OBJ_RXs, float OBJ_RYs, float OBJ_RZs, int OBJ_Types)
{
while (true)
{
if (C_OBJ_Corection == MaxOBJ)
{
C_OBJ_Corection = MinOBJ;
break;
}

if (*((int*)(OBJ_MemNum_Base.ToInt32() + 0x274 * C_OBJ_Corection)) != 0 &&
*((int*)(OBJ_Enable_1_Base.ToInt32() + 0x274 * C_OBJ_Corection)) == 0 &&
*((int*)(OBJ_Enable_2_Base.ToInt32() + 0x274 * C_OBJ_Corection)) == 0)
{
if (OBJ_Types != 0)
{
if (OBJ_Types == Caisse_Alien)
{
if (Zcorrection == true)
{
correctionCobj = 17f;
Zcorrection = false;
}
//*((int*)(OBJ_Enable_11_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 1;
*((int*)(OBJ_Enable_9_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 2;
*((int*)(OBJ_Enable_1_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 6;
*((int*)(OBJ_Enable_3_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 17040385;//1
*((int*)(OBJ_Enable_4_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 0;
*((int*)(OBJ_Enable_5_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 16777215;
*((int*)(OBJ_Enable_6_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 1280;
*((int*)(OBJ_Enable_7_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 4096;
*((int*)(OBJ_Enable_8_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 134428352;
*((int*)(OBJ_Enable_10_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 2047;
*((int*)(OBJ_Type_1_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Types;
*((int*)(OBJ_Type_2_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Types;
*((float*)(OBJ_DX_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = -1f;
*((float*)(OBJ_DY_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 0.25f;
*((float*)(OBJ_DZ_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 0f;
*((float*)(OBJ_Limite_XNeg_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 30f;
*((float*)(OBJ_Limite_YNeg_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 17.75f;
*((float*)(OBJ_Limite_ZNeg_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 16f;
*((float*)(OBJ_Limite_XPos_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 31f;
*((float*)(OBJ_Limite_YPos_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 18.75f;
*((float*)(OBJ_Limite_ZPos_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 17f;
*((int*)(OBJ_Enable_2_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 3;//3
*((float*)(OBJ_X_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Xs;
*((float*)(OBJ_Y_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Ys;
*((float*)(OBJ_Z_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Zs + correctionCobj;
*((float*)(OBJ_cx_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Xs;
*((float*)(OBJ_cy_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Ys;
*((float*)(OBJ_cz_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Zs + correctionCobj;
*((float*)(OBJ_cx2_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Xs;
*((float*)(OBJ_cy2_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Ys;
*((float*)(OBJ_cz2_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Zs + correctionCobj;
*((float*)(OBJ_RX_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_RXs;
*((float*)(OBJ_RY_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_RYs;
*((float*)(OBJ_RZ_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_RZs;
*((float*)(OBJ_CRX_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_RXs;
*((float*)(OBJ_CRY_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_RYs;
*((float*)(OBJ_CRZ_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_RZs;
}
else
{
*((float*)(OBJ_X_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Xs;
*((float*)(OBJ_Y_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Ys;
*((float*)(OBJ_Z_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Zs + correctionCobj;
*((float*)(OBJ_RX_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_RXs;
*((float*)(OBJ_RY_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_RYs;
*((float*)(OBJ_RZ_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_RZs;
*((int*)(OBJ_Type_1_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Types;
*((int*)(OBJ_Type_2_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = OBJ_Types;
*((int*)(OBJ_Enable_1_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 6;
*((int*)(OBJ_Enable_2_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 0;//3
*((int*)(OBJ_Enable_3_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 17039361;//1
*((int*)(OBJ_Enable_4_Base.ToInt32() + 0x274 * C_OBJ_Corection)) = 0;
correctionCobj = 0;
}
if (CountObj == true)
{
SnumObj[Nombre_ObjPrint].nobj = C_OBJ_Corection;
Nombre_ObjPrint++;
CountObj = false;
}
float PrintV = OBJ_Zs + correctionCobj;
ServerPrint("Debug Nm: " + C_OBJ_Corection + " ,Localisation X: " + OBJ_Xs + " ,Y: " + OBJ_Ys + " ,Z: " + PrintV);
OBJ_Types = 0;
C_OBJ_Corection++;
Nombre_Obj++;
OriginZ += 33f;
break;
}
}
else C_OBJ_Corection++;
}
}
[-] The following 1 user says Thank You to lewisbibo for this post:
  • [HARD] Tony.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Make area detect. flag Teleport lewisbibo 4 2,316 10-12-2013, 18:10
Last Post: EnVi Sweden Rocks
Wink Make Platforme lewisbibo 5 2,368 10-08-2013, 14:35
Last Post: 8q4s8
  Make obj MW3.by lewisbibo lewisbibo 3 1,963 10-05-2013, 20:16
Last Post: Nekochan
  Help need help?how to make plugins code hXnarutoXone 12 3,834 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Make ac130 shoot custom bullets Ra3shed 0 1,270 07-23-2013, 13:02
Last Post: Ra3shed
  how to make a plugin (mod) E-losev 5 2,182 07-12-2013, 15:48
Last Post: OzonE
  [Release] Make Tree´s Fall Yamato 8 4,250 06-15-2013, 11:45
Last Post: xfxtroll
  [need help] how to make dbnetwork updater? ahmad009 3 1,359 06-09-2013, 11:54
Last Post: Bandarigoda123
  How to make superjump mod TDM sniper hipperz 4 1,726 03-28-2013, 15:09
Last Post: hillbilly
  Help Make Waypoint FaiR_PLaY 10 2,952 02-12-2013, 13:09
Last Post: archit

Forum Jump:


Users browsing this thread: 1 Guest(s)