SHARE
TWEET

Untitled

a guest Jun 6th, 2019 341 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     iVar1 = 0;
  2.     while (iVar1 < func_511(uParam0)) //Check the number of props
  3.     {
  4.         if (!DOES_ENTITY_EXIST((*uParam0)[iVar1]))
  5.         {
  6.             bVar2 = func_510(uParam0, iVar1); // Models for the props
  7.             vVar3 = { func_509(uParam0, iVar1) }; //Prop Location
  8.             vVar6 = { func_508(uParam0, iVar1) }; //Prop Heading
  9.             (*uParam0)[iVar1] = CREATE_OBJECT(bVar2, vVar3, false, false, false);
  10.             SET_ENTITY_ROTATION((*uParam0)[iVar1], vVar6, 2, 1);
  11.             FREEZE_ENTITY_POSITION((*uParam0)[iVar1], true);
  12.             SET_ENTITY_INVINCIBLE((*uParam0)[iVar1], true);
  13.             SET_ENTITY_LOD_DIST((*uParam0)[iVar1], 1200);
  14.         }
  15.         else if (!func_507(unk_0xE2BBD32891C18569((*uParam0)[iVar1], false), func_509(uParam0, iVar1), 0))
  16.         {
  17.             SET_ENTITY_COORDS((*uParam0)[iVar1], func_509(uParam0, iVar1), 0, 0, 0, 1);
  18.             SET_ENTITY_ROTATION((*uParam0)[iVar1], func_508(uParam0, iVar1), 2, 1);
  19.         }
  20.         iVar1++;
  21.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top