Y_Less

A

Dec 22nd, 2012
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.35 KB | None | 0 0
  1.     for (new j = 0; j < GROUP_PROPERTY_BITS; j++)
  2.     {
  3.         new
  4.             props = _:YSI_g_sPlayerProperties[playerid][j],
  5.             slot = 1,
  6.             bit;
  7.         while (props)
  8.         {
  9.             if (props & slot)
  10.             {
  11.                 new
  12.                     prop = (j * 32) + bit;
  13.                 // CODE GOES HERE
  14.                 props ^= slot;
  15.             }
  16.             slot <<= 1;
  17.             bit++;
  18.         }
  19.         YSI_g_sPlayerProperties[playerid][j] = Bit:0;
  20.     }
Advertisement
Add Comment
Please, Sign In to add comment