Advertisement
Guest User

Untitled

a guest
Oct 20th, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. forward UpdateObjects();
  2. public UpdateObjects()
  3. {
  4.  
  5. for(new i = 0; i<(sizeof(BombSystem)); i++)
  6. {
  7. if(BombSystem[i][bombid] != -1 && IsValidDynamicObject(BombSystem[i][localBomb]))
  8. {
  9. // printf("Objekt %d (BOMBID: %d) geupdatet!",i,BombSystem[i][bombid]);
  10. new Float:rx, Float:ry, Float:rz;
  11. GetDynamicObjectRot(BombSystem[i][localBomb],rx,ry,rz);
  12.  
  13. SetDynamicObjectRot(BombSystem[i][localBomb],rx+debug_rotationfloat,ry+debug_rotationfloat,rz+debug_rotationfloat);
  14. }
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement