Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void xmc_airstrike(void)
- {
- if(DOES_BLIP_EXIST(GET_FIRST_BLIP_INFO_ID(BLIP_WAYPOINT))){
- Vector3 pos;
- float z;
- GET_BLIP_COORDS(GET_FIRST_BLIP_INFO_ID(BLIP_WAYPOINT),&pos);
- GET_GROUND_Z_FOR_3D_COORD(pos.x,pos.y,pos.z,&z);
- create_big_explosion(pos.x,pos.y,z);//adding 10.0f isn't tested
- print("Launching Airstrike!");
- }
- else print("You need to set a waypoint!");
Advertisement
Add Comment
Please, Sign In to add comment