Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Void Function
- 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);
- xmccreate_big_explosion(pos.x,pos.y,z);//adding 10.0f isn't tested
- xmcPrint("Launching Airstrike!");
- }
- else xmcPrint("You need to set a waypoint!");
- }
- Print Definition
- #define xmcPrint(x) PRINT_STRING_WITH_LITERAL_STRING("string",x,2500,true)
Advertisement
Add Comment
Please, Sign In to add comment