Advertisement
bigjfdjew

Untitled

Jun 30th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. int UserID = pEvent->GetInt("userID");
  2. int bulletx = pEvent->GetInt("x");
  3. int bullety = pEvent->GetInt("y");
  4. int bulletz = pEvent->GetInt("x");
  5.  
  6.  
  7. int EntityIndex = Engine->GetPlayerForUserID(UserID);
  8. if (EntityIndex == Engine->GetLocalPlayer())
  9. {
  10.  
  11. printf("bullet impact %i, %i, %i", bulletx, bullety, bulletz);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement