Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Sa-Mp Gang Zone Script


sci4me
 Share

Recommended Posts

ok, i have made a simple sa-mp gangzone scritp, but it doesnt work.

 

// This is a comment// uncomment the line below if you want to write a filterscript//#define FILTERSCRIPT#include <a_samp>#define COLOR_GREY 0xAFAFAFAA#define COLOR_RED 0xAA3333AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_PINK 0xFF66FFAA#define COLOR_BLUE 0x0000BBAA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_LIGHTBLUE 0x33CCFFAA#define COLOR_DARKRED 0x660000AA#define COLOR_ORANGE 0xFF9900AA#define COLOR_BRIGHTRED 0xFF0000AA#define COLOR_INDIGO 0x4B00B0AA#define COLOR_VIOLET 0x9955DEEE#define COLOR_LIGHTRED 0xFF99AADD#define COLOR_SEAGREEN 0x00EEADDF#define COLOR_GRAYWHITE 0xEEEEFFC4#define COLOR_LIGHTNEUTRALBLUE 0xabcdef66#define COLOR_GREENISHGOLD 0xCCFFDD56#define COLOR_LIGHTBLUEGREEN 0x0FFDD349#define COLOR_NEUTRALBLUE 0xABCDEF01#define COLOR_LIGHTCYAN 0xAAFFCC33#define COLOR_LEMON 0xDDDD2357#define COLOR_MEDIUMBLUE 0x63AFF00A#define COLOR_NEUTRAL 0xABCDEF97#define COLOR_BLACK 0x00000000#define COLOR_NEUTRALGREEN 0x81CFAB00#define COLOR_DARKGREEN 0x12900BBF#define COLOR_LIGHTGREEN 0x24FF0AB9#define COLOR_DARKBLUE 0x300FFAAB#define COLOR_BLUEGREEN 0x46BBAA00#define COLOR_PINK 0xFF66FFAA#define COLOR_LIGHTBLUE 0x33CCFFAA#define COLOR_DARKRED 0x660000AA#define COLOR_ORANGE 0xFF9900AA#define COLOR_PURPLE 0x800080AA#define COLOR_GRAD1 0xB4B5B7FF#define COLOR_GRAD2 0xBFC0C2FF#define COLOR_RED1 0xFF0000AA#define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_BROWN 0x993300AA#define COLOR_CYAN 0x99FFFFAA#define COLOR_TAN 0xFFFFCCAA#define COLOR_PINK 0xFF66FFAA#define COLOR_KHAKI 0x999900AA#define COLOR_LIME 0x99FF00AA#define COLOR_SYSTEM 0xEFEFF7AA#define COLOR_GRAD2 0xBFC0C2FF#define COLOR_GRAD4 0xD8D8D8FF#define COLOR_GRAD6 0xF0F0F0FF#define COLOR_GRAD2 0xBFC0C2FF#define COLOR_GRAD3 0xCBCCCEFF#define COLOR_GRAD5 0xE3E3E3FF#define COLOR_GRAD1 0xB4B5B7FFpublic OnFilterScriptInit(){//=-=-=-=-=-=-=-=-=-=-=-=-Credits=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=   print("\n Zones Script Made By Matt ");//=-=-=-=-=-=-=-=-=-=-GangZones=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=new gz1;new gz2;new gz3;new gz4;new gz5;new gz6;gz1 = GangZoneCreate(-23.35575, 1658.258, 385.3699, 2090.34);GangZoneShowForAll(gz1,COLOR_BLUE);gz2 = GangZoneCreate(93.423, 1331.278, 303.6248, 1483.09);GangZoneShowForAll(gz2,COLOR_PINK);gz3 = GangZoneCreate(1377.989, -2650.878, 2102.018, -2195.441);GangZoneShowForAll(gz3,COLOR_YELLOW);gz4 = GangZoneCreate(2428.998, -1704.97, 2510.743, -1646.58);GangZoneShowForAll(gz4,COLOR_GREEN);gz5 = GangZoneCreate(1307.922, 1179.465, 1623.225, 1845.104);GangZoneShowForAll(gz5,COLOR_YELLOW);   gz6 = GangZoneCreate(-1693.292, -712.3504, -1202.821, -151.8124);   GangZoneShowForAll(gz6,COLOR_YELLOW);}public OnFilterScriptExit(){GangZoneDestroy(gz1);GangZoneDestroy(gz2);GangZoneDestroy(gz3);GangZoneDestroy(gz4);GangZoneDestroy(gz5);GangZoneDestroy(gz6);return 1;}

 

DO NOT STEAL MY SCRIPT. I CAN REPORT U. If u do, leave the credits. note: this script isnt currently working. The error i get is this:

 

C:\Documents and Settings\name\Desktop\stuff (DONT OPEN)\server\filterscripts\gangzones.pwn(92) : error 017: undefined symbol "gz1"

C:\Documents and Settings\name\Desktop\stuff (DONT OPEN)\server\filterscripts\gangzones.pwn(93) : error 017: undefined symbol "gz2"

C:\Documents and Settings\name\Desktop\stuff (DONT OPEN)\server\filterscripts\gangzones.pwn(94) : error 017: undefined symbol "gz3"

C:\Documents and Settings\name\Desktop\stuff (DONT OPEN)\server\filterscripts\gangzones.pwn(95) : error 017: undefined symbol "gz4"

C:\Documents and Settings\name\Desktop\stuff (DONT OPEN)\server\filterscripts\gangzones.pwn(96) : error 017: undefined symbol "gz5"

C:\Documents and Settings\name\Desktop\stuff (DONT OPEN)\server\filterscripts\gangzones.pwn(97) : error 017: undefined symbol "gz6"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

6 Errors.

HELP!!!!!

 

Edited by sci4me
Link to comment
Share on other sites

Just put

 

 

new gz1;new gz2;new gz3;new gz4;new gz5;new gz6;

 

 

before

 

 

public OnFilterScriptInit()

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.