Advertisement
Guest User

Untitled

a guest
May 27th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. forward KaboomBoom();
  2. public KaboomBoom()
  3. {
  4. MorsaActive = 1;
  5. new id=getFreeMorserID();
  6. if(id!=-1)
  7. {
  8.  
  9. new Random = random(sizeof(MorsaZeugs));
  10.  
  11. Morsa[id][MorsaID] = CreateObject(1636,MorsaZeugs[Random][0], MorsaZeugs[Random][1], MorsaZeugs[Random][2], 0.0, 0.0, 96.0);
  12.  
  13. PHY_InitObject(Morsa[id][MorsaID], 1636, 1.0, FLOAT_NAN, PHY_MODE_3D);
  14. PHY_RollObject(Morsa[id][MorsaID], 1);
  15. Morsa[id][Light] = CreateObject(18670,MorsaZeugs[Random][0], MorsaZeugs[Random][1], MorsaZeugs[Random][2], 0.0, 0.0, 96.0,250.0);
  16. }
  17.  
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement