Advertisement
Guest User

Untitled

a guest
Jul 8th, 2016
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. // MapAndreas 1.2.1
  2. // 20.7.2014
  3. // Originally created by Kalcor, updated by Mauzen and Pamdex
  4.  
  5. #define MAP_ANDREAS_MODE_NONE 0
  6. #define MAP_ANDREAS_MODE_MINIMAL 1
  7. #define MAP_ANDREAS_MODE_MEDIUM 2 // currently unused
  8. #define MAP_ANDREAS_MODE_FULL 3
  9. #define MAP_ANDREAS_MODE_NOBUFFER 4
  10.  
  11. #define MAP_ANDREAS_ERROR_SUCCESS 0
  12. #define MAP_ANDREAS_ERROR_FAILURE 1
  13. #define MAP_ANDREAS_ERROR_MEMORY 2
  14. #define MAP_ANDREAS_ERROR_DATA_FILES 3
  15. #define MAP_ANDREAS_ERROR_INVALID_AREA 4
  16.  
  17. native MapAndreas_Init(mode, name[]="", len=sizeof(name));
  18. native MapAndreas_FindZ_For2DCoord(Float:X, Float:Y, &Float:Z);
  19. native MapAndreas_FindAverageZ(Float:X, Float:Y, &Float:Z);
  20. native MapAndreas_Unload();
  21. native MapAndreas_SetZ_For2DCoord(Float:X, Float:Y, Float:Z);
  22. native MapAndreas_SaveCurrentHMap(name[]);
  23. native MapAndreas_GetAddress(); //only for plugins
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement