Error whilst Compiling
#1

C:\Users\python\Desktop\GTA SAMP Server\gamemodes\CG-RP1.pwn(29116) : warning 206: redundant test: constant expression is non-zero
C:\Users\python\Desktop\GTA SAMP Server\gamemodes\CG-RP1.pwn(63683) : warning 204: symbol is assigned a value that is never used: "type"
C:\Users\python\Desktop\GTA SAMP Server\gamemodes\CG-RP1.pwn(92004) : error 037: invalid string (possibly non-terminated string)
C:\Users\python\Desktop\GTA SAMP Server\gamemodes\CG-RP1.pwn(92004) : error 017: undefined symbol "Weapons"
C:\Users\python\Desktop\GTA SAMP Server\gamemodes\CG-RP1.pwn(92004) : error 029: invalid expression, assumed zero
C:\Users\python\Desktop\GTA SAMP Server\gamemodes\CG-RP1.pwn(92004) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

//----------------------------------------[Colors]------------------------------//
#define green 0x45E01FFF
#define COLOR_NICERED 0xFF0000FF
#define COLOR_VIP 0xECFF0000
#define COLOR_NICEGREEN 0x00FF00FF
#define TEAM_TAXI_COLOR 0xFFFF5000
#define COL_NEWBIEB 0x5B9CBBFF
#define COLOR_BITEM 0xE1B0B0FF
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_CAR 0x7DAEFFFF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_DEV 0xFFFF91FF
#define COLOR_ADMIN 0xB2EBE0AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIGHTRED 0xFF6347AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_LIGHTYELLOW 0xFFFF91FF
#define COL_FORUM 0x808000C8
#define COLOR_YELLOW2 0xF5DEB3AA
#define COLOR_TAN 0xD2B48CFF
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
#define COLOR_PURPLE 0xC2A2DAAA
#define COLOR_CHAT1 0xF9B7FFAA
#define COLOR_CHAT2 0xE6A9ECAA
#define COLOR_CHAT3 0xC38EC7AA
#define COLOR_CHAT4 0xD2B9D3AA
#define COLOR_CHAT5 0xC6AEC7AA
#define TEAM_CYAN_COLOR 0xFF8282AA
#define COLOR_DBLUE 0x2641FEAA
#define COLOR_DOC 0xFF8282AA
#define COLOR_DCHAT 0xF0CC00FF
#define COLOR_NEWS 0xFFA500AA
#define COLOR_OOC 0xE0FFFFAA
#define COLOR_ORANGE 0xFF9900AA
#define TEAM_BLUE_COLOR 0x8D8DFF00
#define TEAM_GROVE_COLOR 0x00AA00FF
#define ENT_COLOR 0xFF6347FF
#define TEAM_AZTECAS_COLOR 0x01FCFFC8
#define COLOR_TEAL 0x00AAAAAA
#define COLOR_OFFWHITE 0xF5DEB3AA
#define COLOR_DARKAQUA 0x83BFBFAA
#define NEWBIE_COLOR 0x7DAEFFFF
#define TPARAMEDIC 0xFF828200
#define SCOLOR_RED 0xD9000000
#define SCOLOR_PINK 0xFE81FE00
#define SCOLOR_ORANGE 0xFF6A2200
#define SCOLOR_YELLOW 0xF0F00000
#define SCOLOR_CYAN 0x00E6E600
#define SCOLOR_GREEN 0x00CA0000
#define SCOLOR_BLUE 0x0058B000
#define SCOLOR_BLACK 0x00000000
#define SCOLOR_WHITE 0xFFFFFF00
#define SCOLOR_MARKER 0xD90000FF
#define TBLUE 0x2641FE00
#define GARAGE_COLOR 0xFFA500FF
//-------------------------------------[Defines]-----------------------------//
#define MAX_FAMVEHICLES 140
#define MAX_DYNAMIC_OBJECTS (2000)
#define MAX_ROADBLOCKS 100
#define MAX_ENTRANCES (600)
#define MAX_GATES (800)
#define TYPE_ENTRANCE (7)
#define TYPE_GATE (5)
#define MAX_MONEYBAGS (150)
#define TYPE_GARAGE (3)
#define TYPE_OBJECT (4)
#define TYPE_FACGATE (6)
#define TYPE_FAMGATE (10)
#define MAX_DRIVETHRUS (50)
#define MAX_FACGATES (65)
#define MAX_FAMGATES (32)
#define VIPSKINMENU 13337
#define MAX_PLATE_LENGTH 12
#define VIPNUMBERCHANGEMENU 13338
#define SASD1 1305
#define SASD2 1304
#define SPECIAL_ACTION_PISSING 68
#define MAX_SPIKESTRIPS 200
#define MAX_MAPICONS 100
#undef MAX_VEHICLES
#define MAX_CCTVS 100
#define MAX_CCTVMENUS 10
#define MAX_POINTS (9)
#define MAX_VEHICLES 500
#define MAX_STRING 255
#define MAX_HOUSES 1000
#define MAX_SPEED_WARNINGS 3
#define MAX_BUSINESSES 1000
#define MAX_ROADBLOCKS 100
#define MAX_GARAGES (1000)
#define MAX_ATM 1000
#define MAX_MAPB 1000
#define MAX_GSTATION 1000
#define MAX_HSSIGN 1000
#define MAX_OOCSHOP 1000
#define MAX_InfoBoard 1000
#define MAX_BUILDINGS 1000
#define MAX_DIVISIONS (5)
#define MAX_MOTELS 1000
#define BUSINESSES_INT 5000
#define MAX_STRING 255
// Radio System
#define USE_TEXTDRAW_SET 2
#define MAX_RADIO_STATIONS 20
#define TEXTDRAW_DISAPPEAR_TIME 999999
#define NAME_SIZE 30
#define LINK_SIZE 70
#define GetVehicleRadioStation(%1) v_VehicleInfo[%1][RadioPlaying]
#define DIALOG_GPS 1041
//Boombox Dialog
#define DIALOG_BOOMBOX 31997
#define DIALOG_BOOMBOX1 31998
#define DIALOG_BOOMBOX2 31999
#define DIALOG_BOOMBOX3 32000
#define DIALOG_BOOMBOX4 32001
#define DIALOG_BOOMBOX5 32002
#define DIALOG_BOOMBOX6 32003
#define DIALOG_BOOMBOX7 32004
#define DIALOG_OOCSHOP 32546
#define CHECKPOINT_NONE 0
#define CHECKPOINT_HOME 12
#define CHECKPOINT_HITMAN 123
#pragma tabsize 0
#pragma dynamic 100000
//----------------------------------------------------//
#define DEFAULT_TIMEOUT (5000) // Equals to 5 seconds
#define isnull(%1) \
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJ ECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_ OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTAC HED_OBJECTS-1)
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
//-------------------------------------------[MENUS]---------------------------------//
#define SASDSKINMENU 671
#define DIALOG_SERVERCTRL 32580
#define DIALOG_CHANGEHOSTNAME 32581
#define DIALOG_CHANGEMAPNAME 32582
#define DIALOG_CHANGEURL 32583
#define DIALOG_LOCKSERVER 32584
#define DIALOG_UNLOCKSERVER 32585
#define DIALOG_CHANGERCON 32586
#define DIALOG_RESOURCES_MENU 21750
#define DIALOG_RESOURCES_INTERIOR 21751
#define DIALOG_RESOURCES_VEHICLE 21752
//#define DMMENU 1309
//#define OOCMENU 1308
#define SEXMENU 1335
//#define PGMENU 1431
//#define CKMENU 1232
//#define PCMENU 3641
#define AGEMENU 5625
#define HOUSES_INT 6000
#define CHOUSES_INT 2121
#define MAX_TRUNK_SLOTS (6) // Is actually 4.
#define MAX_VEHICLE_MODELS (200)
#define MAX_PLYVEH_RATIO (50) // per player.
#define BUSINESSES_INT 5000
#define SKINMENU 1318
#define UPGRADEMENU6 1313
#define UPGRADEMENU5 1312
#define UPGRADEMENU4 1311
#define UPGRADEMENU3 1310
#define DIALOG_UPDATES (30000)
#define UM2 1309
#define UPGRADEMENU1 1308
#define mapmenu 6767
#define FBI2 1307
#define FBI1 1306
#define VEHMENU3 1305
#define VEHMENU2 1304
#define VEHMENU1 1303
#define CARMENU 1302
#define CARMENU2 1301
#define CARMENU3 1300
#define CARMENU4 1299
#define CARMENU5 1298
#define CARMENU6 1297
#define CARMENU7 1296
#define CARMENU8 1295
#define CARMENU9 1294
#define DMVMENU 1333
#define DSVMENU 1334
#define CARMENU10 1293
#define CARMENU11 1292
#define CARMENU12 1291
#define CARMENU13 1290
#define CARMENU14 1289
//--------------------------------------[TEAM COLORS]--------------------------------//
#define TCOLOR_VIP 0xECFF0000
#define TCOLOR_WHITE 0xFFFFFF00
#define TCOLOR_LIGHTGREEN 0x9ACD3200
#define TCOLOR_NAVYBLUE 0x8D8DFF00
#define TCOLOR_BEIGE 0xA5937000
#define TCOLOR_GREY 0xBFC0C200
#define TCOLOR_DARKGREY 0x52545900
#define TCOLOR_BLUE 0x2641FE00
#define TCOLOR_LIGHTBLUE 0x2B77A100
#define TCOLOR_YELLOW 0xFFFF0000
#define TCOLOR_HELP 0x00D700FF
#define TCOLOR_FIND 0x9B0000AA
#define TCOLOR_WANTED 0xFF0000AA
#define TCOLOR_PRISON 0xF4A41900
#define TCOLOR_HOSPITAL 0xAFAFAF00
#define TCOLOR_PARAMEDIC 0xFF828200
//--------------------------------------[TURF WAR]------------------------------------
/*#define COLOR_TWWHITE 0xFFFFFFAA
#define COLOR_TWYELLOW 0xFFFF00AA
#define COLOR_TWPINK 0xE75480AA
#define COLOR_TWRED 0xFF0000AA
#define COLOR_TWBROWN 0x654321AA
#define COLOR_TWGRAY 0x808080AA
#define COLOR_TWOLIVE 0x808000AA
#define COLOR_TWPURPLE 0x800080AA
#define COLOR_TWTAN 0xD2B48CAA
#define COLOR_TWAQUA 0x00FFFFAA
#define COLOR_TWORANGE 0xFF8C00AA
#define COLOR_TWAZURE 0x007FFFAA
#define COLOR_TWGREEN 0x008000AA
#define COLOR_TWBLUE 0x0000FFAA
#define COLOR_TWBLACK 0x000000AA
#define TW_WAITDELAY 5 // TESTING*/
//--------------------------------------[Fire System]---------------------------------/
#define MAX_FLAMES 100 // maxmimal flames
#define BurnOthers // Should other players burn, too, if they are touching a burning player?
#define FireMessageColor 0x00FF55FF // color used for the extinguish-message

#define FLAME_ZONE 1.2 // radius in which you start burning if you're too close to a flame
#define ONFOOT_RADIUS 1.5 // radius in which you can extinguish the flames by foot
#define PISSING_WAY 2.0 // radius in which you can extinguish the flames by peeing
#define CAR_RADIUS 8.0 // radius in which you can extinguish the flames by firetruck/SWAT Van
#define Z_DIFFERENCE 2.5 // height which is important for the accurancy of extinguishing. please do not change
#define EXTINGUISH_TIME_VEHICLE 1 // time you have to spray at the fire with a firetruck (seconds)
#define EXTINGUISH_TIME_ONFOOT 4 // time you have to spray at the fire onfoot (seconds)
#define EXTINGUISH_TIME_PEEING 10 // time you have to pee at the fire (seconds)
#define EXTINGUISH_TIME_PLAYER 3 // time it takes to extinguish a player (seconds)
#define FIRE_OBJECT_SLOT 1 // the slot used with SetPlayerAttachedObject and RemovePlayerAttachedObject
//---------------------------------------[Locations]----------------------------------//
#if defined LOS_SANTOS
#define LocationGet IsLocationLosSantos
#endif
#if defined SAN_FIERRO
#define LocationGet IsLocationSanFierro
#endif
#if defined LAS_VENTURAS
#define LocationGet IsLocationLasVenturas
#endif
//---------------------------------------[PayPhone]-----------------------------------//
#define DACCT32 2137
#define DACCT33 2138
//------------------------------------------[SPEC]-------------------------------------//
#define ADMIN_SPEC_TYPE_NONE 0
#define ADMIN_SPEC_TYPE_PLAYER 1
new
hostname[128],
mapname[128],
weburl[128],
rconpass[128],
boolerver_locked;
#define EX_SPLITLENGTH 118
new Text3D:mDutyText[MAX_PLAYERS];
//----------[New Bus System]---------//

new Text3D:NPCTextBlue;
new Text3D:NPCTextBlack;
new NPCBlueBus;
new NPCBlackBus;
new BusID[MAX_PLAYERS];
new BusCost[MAX_PLAYERS];
new PlayerSitting[MAX_PLAYERS];
new Float:Playerx[MAX_PLAYERS], Float:Playery[MAX_PLAYERS], Float:Playerz[MAX_PLAYERS], Float:Playera[MAX_PLAYERS], PlayerSkin[MAX_PLAYERS];
new costtimer;

forward UnfreezeMeNow(playerid);

forward IsAtBlueBusStop(playerid);
forward IsAtBlackBusStop(playerid);
forward ResetView(playerid);
forward CPOff(playerid);
forward CostTimer(playerid);
forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);

new gates;
new objects;
new facgates;
new famgates;
//--------------------------------//
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)