XADRENALINEIX

Emmanuel Utomi's Airstrike At Waypoint

May 18th, 2013
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. void xmc_airstrike(void)
  2. {
  3. if(DOES_BLIP_EXIST(GET_FIRST_BLIP_INFO_ID(BLIP_WAYPOINT))){
  4. Vector3 pos;
  5. float z;
  6. GET_BLIP_COORDS(GET_FIRST_BLIP_INFO_ID(BLIP_WAYPOINT),&pos);
  7. GET_GROUND_Z_FOR_3D_COORD(pos.x,pos.y,pos.z,&z);
  8. create_big_explosion(pos.x,pos.y,z);//adding 10.0f isn't tested
  9. print("Launching Airstrike!");
  10. }
  11. else print("You need to set a waypoint!");
Advertisement
Add Comment
Please, Sign In to add comment