Guest User

Turfs

a guest
Sep 5th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. //#define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6.  
  7. #define COLOR_BRIGHTGREEN1 0x00FF0096 // grove turf
  8. #define COLOR_PURPLE1 0x80008096 // kilo tray & rollin heightz turf
  9. #define COLOR_YELLOW1 0xFFFF0096 // vagos turf
  10. #define COLOR_DARKPURPLE1 0x80008096 // idlewood turf
  11. #define COLOR_LIGHTGREEN1 0x00FF8096 // seville turf
  12. #define COLOR_LIGHTBLUE1 0x00FFFF96 // varrios turf
  13. #define COLOR_WHITE1 0xFFFFFF96 // mafia turf
  14. #define COLOR_DARKGREEN1 0x00800096 // temple turf
  15.  
  16. #if defined FILTERSCRIPT
  17.  
  18. public OnFilterScriptInit()
  19. {
  20. print("\n--------------------------------------");
  21. print(" Blank Filterscript by your name here");
  22. print("--------------------------------------\n");
  23. return 1;
  24. }
  25.  
  26. public OnFilterScriptExit()
  27. {
  28. return 1;
  29. }
  30.  
  31. #else
  32.  
  33. main()
  34. {
  35. print("\n----------------------------------");
  36. print(" Blank Gamemode by your name here");
  37. print("----------------------------------\n");
  38. }
  39.  
  40. #endif
  41.  
  42. new grovestzone;
  43. new ballaszone;
  44. new lsvagoszone;
  45. new varrioszone;
  46. new mafiazone;
  47. new templezone;
  48. new idlewoodzone;
  49. new sevillezone;
  50.  
  51. public OnGameModeInit()
  52. {
  53. // Don't use these lines if it's a filterscript
  54. SetGameModeText("Blank Script");
  55. grovestzone = GangZoneCreate(2662.660156,-1611.299804,2224.572265,-1837.556640);
  56. ballaszone = GangZoneCreate(2268.272705,-1479.102539,1815.999267,-1048.558837);
  57. lsvagoszone = GangZoneCreate(2289.378662,-1011.239379,2922.021972,-1587.612182);
  58. varrioszone = GangZoneCreate(1650.141357,-1866.233886,1980.616577,-2172.450927);
  59. mafiazone = GangZoneCreate(1016.098510,-1856.401489,630.193603,-1389.662109);
  60. templezone = GangZoneCreate(802.143005,-1155.721801,1395.130126,-851.716491);
  61. idlewoodzone = GangZoneCreate(2217.472656,-1579.085083,1920.980224,-1848.916259);
  62. sevillezone = GangZoneCreate(2862.953613,-1878.322387,2234.872558,-2140.493164);
  63. return 1;
  64. }
  65.  
  66. public OnPlayerSpawn(playerid)
  67. {
  68. GangZoneShowForPlayer(playerid,grovestzone,COLOR_BRIGHTGREEN1);
  69. GangZoneShowForPlayer(playerid,ballaszone,COLOR_PURPLE1);
  70. GangZoneShowForPlayer(playerid,lsvagoszone,COLOR_YELLOW1);
  71. GangZoneShowForPlayer(playerid,mafiazone,COLOR_WHITE1);
  72. GangZoneShowForPlayer(playerid,varrioszone,COLOR_LIGHTBLUE1);
  73. GangZoneShowForPlayer(playerid,templezone,COLOR_DARKGREEN1);
  74. GangZoneShowForPlayer(playerid,idlewoodzone,COLOR_PURPLE1);
  75. GangZoneShowForPlayer(playerid,sevillezone,COLOR_LIGHTGREEN1);
  76. return 1;
  77. }
Advertisement
Add Comment
Please, Sign In to add comment