Problem with compiling
#1

Hi there. Well, I have a problem with my script, as usual, :P.

The problem is most likely here:

http://pawn.pastebin.com/m6eb4fe05

And here's my OnGameModeInit and new's.

pawn Код:
new driverschoolenter,driverschoolexit,DMVMenupickup;
new Bcar1,Bcar2,Bcar3,Bcar4;
new Acar1,Acar2;
new gDriversLicenseType[MAX_PLAYERS];
new gLicensegiven[MAX_PLAYERS];
new Menu:DMVMenu;
new Menu:DMVPMenu;
new gInDMV[MAX_PLAYERS];
new gDMVOnDuty[MAX_PLAYERS];

public OnGameModeInit()
{
    DMVMenu = CreateMenu("The DMV", 1, 300.0, 100.0, 300.0);
    AddMenuItem(DMVMenu,0,"Request a B-class DMV licensor");
    AddMenuItem(DMVMenu,0,"Request an A-class DMV licensor");
    DMVPMenu = CreateMenu("DMV Locker", 1, 300.0, 100.0, 300.0);
    AddMenuItem(DMVPMenu,0,"Go on/off duty");
    AddMenuItem(DMVPMenu,0,"Change uniform");
    Bcar1 = AddStaticVehicleEx(405,342.8414,-1350.3776,14.3828,118.4376,11,11,300);
    Bcar2 = AddStaticVehicleEx(405,329.2794,-1343.3014,14.3922,208.0797,11,11,300);
    Bcar3 = AddStaticVehicleEx(405,337.5486,-1340.6707,14.3828,117.9454,11,11,300);
    Bcar4 = AddStaticVehicleEx(405,340.0934,-1345.5746,14.3828,118.5098,11,11,300);
    Acar1 = AddStaticVehicleEx(475,345.4035,-1355.3492,14.3105,118.3625,11,11,300);
    Acar2 = AddStaticVehicleEx(475,341.7986,-1337.3308,14.3141,209.9554,11,11,300);
    driverschoolenter = CreatePickup(1239,23,337.5643,-1370.2089,14.3267);
    driverschoolexit = CreatePickup(1239,23,-2029.798339,-106.675910,1035.171875);
    DMVMenupickup = CreatePickup(1239,23,-2034.7899,-115.3649,1035.1719);
  return 1;
}
Any ideas?
Reply
#2

12 hr bump
Reply
#3

No error = no fix
Reply
#4

Problem is, there ARE no errors in the part I posted.

Код:
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(172) : error 017: undefined symbol "dcmd_invite"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(173) : error 017: undefined symbol "dcmd_uninvite"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(174) : error 017: undefined symbol "dcmd_givelicense"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(183) : error 017: undefined symbol "PlayerToPoint"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(194) : error 017: undefined symbol "PlayerToPoint"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(205) : error 017: undefined symbol "PlayerToPoint"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(211) : warning 217: loose indentation
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(211) : warning 211: possibly unintended assignment
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(211) : error 033: array must be indexed (variable "gInDMV")
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(217) : warning 217: loose indentation
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(219) : warning 217: loose indentation
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(222) : warning 217: loose indentation
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(222) : error 029: invalid expression, assumed zero
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(222) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(224) : error 017: undefined symbol "pickupid"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(228) : error 017: undefined symbol "pickupid"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(232) : error 017: undefined symbol "pickupid"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(239) : warning 225: unreachable code
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(239) : error 017: undefined symbol "dcmd_invite"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(242) : error 017: undefined symbol "sscanf"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(290) : warning 225: unreachable code
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(290) : error 017: undefined symbol "dcmd_uninvite"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(293) : error 017: undefined symbol "sscanf"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(328) : warning 225: unreachable code
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(328) : error 017: undefined symbol "dcmd_givelicense"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(331) : error 017: undefined symbol "sscanf"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(396) : warning 225: unreachable code
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(396) : error 029: invalid expression, assumed zero
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(396) : error 017: undefined symbol "PlayerToPoint"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(400) : error 017: undefined symbol "x"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(401) : error 017: undefined symbol "y"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(402) : error 017: undefined symbol "z"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(403) : error 017: undefined symbol "radi"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(444) : warning 225: unreachable code
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(444) : error 029: invalid expression, assumed zero
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(444) : error 017: undefined symbol "sscanf"

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


26 Errors.
None of which is the part I posted. It all started when I made the GetPlayerMenu's == instead of =.
Reply
#5

If there were no errors previously then you probably missed a bracket somewhere
Reply
#6

Quote:
Originally Posted by dice7
If there were no errors previously then you probably missed a bracket somewhere
Yeah, I did, Meh, I found it, and fixed it. Thanks anyways for looking!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)