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


Messages In This Thread
Problem with compiling - by ilikepie2221 - 20.08.2009, 20:55
Re: Problem with compiling - by ilikepie2221 - 21.08.2009, 16:10
Re: Problem with compiling - by FUNExtreme - 21.08.2009, 16:58
Re: Problem with compiling - by ilikepie2221 - 21.08.2009, 18:09
Re: Problem with compiling - by dice7 - 21.08.2009, 18:10
Re: Problem with compiling - by ilikepie2221 - 21.08.2009, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)