C:\Users\ники\Desktop\gangwarss.pwn(397) : error 017: undefined symbol "objinfo" C:\Users\ники\Desktop\gangwarss.pwn(397) : error 009: invalid array size (negative, zero or out of bounds) C:\Users\ники\Desktop\gangwarss.pwn(11288) : warning 215: expression has no effect C:\Users\ники\Desktop\gangwarss.pwn(11288) : error 001: expected token: ";", but found "[" C:\Users\ники\Desktop\gangwarss.pwn(11288) : error 029: invalid expression, assumed zero C:\Users\ники\Desktop\gangwarss.pwn(11288) : warning 215: expression has no effect C:\Users\ники\Desktop\gangwarss.pwn(11288) : error 001: expected token: ";", but found "]" C:\Users\ники\Desktop\gangwarss.pwn(11288) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
You don't have "objinfo" enum, or it's defined further in code. 11287 line doesn't end with ";"
|
new PlayerInEvent[MAX_PLAYERS]; new Bounty[MAX_PLAYERS]; new Jackpot; new EventPlayers; new IsHitman[MAX_PLAYERS]; new PlayerCar[MAX_PLAYERS]; new FactionRequest[MAX_PLAYERS]; new BigEar[MAX_PLAYERS]; new pammo; new IPRecord[ EXPECTED_JOINS ][ MAX_IP ], IPIndex; new Timer; new ServerRestartPause = 0; //==============================[Radio System]================================== new AB[][] = // By WestSide { "{FFFFFF}----Radio System{008000} by {009BFF}WestSide{FFFFFF}---\n", "", "{FFFFFF}• This script is used for Radio Streaming online for all players.", "{FFFFFF}• I made it because i was loving to give us some good radio system with my idea.", "", "{008000}+{FFFFFF} Created by {009BFF}WestSide{FFFFFF}" }; new VR[][] = // By GBLTeam { "{FFFFFF}----Radio System{008000} by {009BFF}WestSide{FFFFFF}---\n", "{FFFFFF}Version 2.0 - updated and recoded by the original scripter WestSide.", "{FFFFFF}This is not simple like the old version 1.0 with only playing radio stations.", "{FFFFFF}What i have added in this version ? v2.0 just read it down:.", "", "", "{FFFFFF}• Added everything in dialog with more options.", "{FFFFFF}• Options: Radio Stations - Import a Radio Station URL - Other Options - Stop Radio. -", "{FFFFFF}• Options: Animations - Stop Animation. -", "{FFFFFF}• Added gametext when you play the radio station to tell you which radio station you choused...", "{FFFFFF}• Added some animations for fun :)...", "{FFFFFF}Maybe this is not all you can check the script :)..", "", "", "{008000}+{FFFFFF} Created by {009BFF}WestSide{FFFFFF}" }; //==========================[Other Variables]=================================== new objEnumeration[MAXIMUM_OBJECTS][objinfo]; new objExists[MAXIMUM_OBJECTS]; new objs[MAX_PLAYERS]; new objsToSave[MAX_PLAYERS][MAXIMUM_OBJECTS]; //==========================[POLICE THINGS]===================================== new OnDuty[MAX_PLAYERS]; new WantedLevel[MAX_PLAYERS]; new JailPrice[MAX_PLAYERS]; new WantedPoints[MAX_PLAYERS]; //==========================[Text Draws]======================================== new Text:txtSpec; //=========================[World Time]========================================= new timeshift = -1; new shifthour; new ghour = 0; new gminute = 0; new gsecond = 0; new realtime = 1; new wtime = 15; //============================================================================== enum pInfo { pKey[256], pIP[21], pAdmin, aDuty, aTog, pRank, pMember, pBanned, pDonateRank, pWarns, pReg, pCash, pKills, pDeaths, pGun0, pGun1, pGun2, pGun3, pGun4, pGun5, pGun6, pGun7, pGun8, pGun9, pGun10, pGun11, pGun12, pModel, pMuted,
string[64] ; if(IsValidModel(modelid)) { for(new i = 0; i < MAXIMUM_OBJECTS; i++) { if(!objExists[i]) { objectid = i; break; } } GetPlayerPos(playerid, coords[0], coords[1], coords[2]); objEnumeration[objectid][objID] = CreateDynamicObject(modelid, coords[0] + 1, coords[1] - 1, coords[2], 0.0000, 0.0000, 0.0000); objEnumeration[objectid][objModel] = modelid; objEnumeration[objectid][objCoords][0] = coords[0] + 1; objEnumeration[objectid][objCoords][1] = coords[1] - 1; objEnumeration[objectid][objCoords][2] = coords[2]; objEnumeration[objectid][objRotation][0] = 0.0000; objEnumeration[objectid][objRotation][1] = 0.0000; objEnumeration[objectid][objRotation][2] = 0.0000; objExists[objectid] = 1; format(string, sizeof(string), "Object %d (model: %d) created.", objectid, modelid); SendClientMessage(playerid, 0xFFFF00FF, string); return 1; } else return SendClientMessage(playerid, -1, "Invalid model ID."), ShowPlayerDialog(playerid, DIALOG_CREATE_OBJ, DIALOG_STYLE_INPUT, "Create Object", "Creating an object is easy. Simply type the object model ID below into the box.", "Create", "Back");
enum objinfo { objID, objModel, Float:objCoords[3], Float:objRotation[3] };
C:\Users\ники\Desktop\gangwarss.pwn(11321) : error 017: undefined symbol "g_ModelNames" C:\Users\ники\Desktop\gangwarss.pwn(11321) : error 036: empty statement C:\Users\ники\Desktop\gangwarss.pwn(11321) : error 001: expected token: ";", but found ")" C:\Users\ники\Desktop\gangwarss.pwn(11321) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.