Jump to content

Sa-Mp Gang Zone Script


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
https://gtaforums.com/topic/463907-sa-mp-gang-zone-script/
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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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