Error 001
#1

Код:
C:\Users\Guest2\Desktop\Extras\Free Roam script\gamemodes\rp.pwn(85) : error 001: expected token: ";", but found "public"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
It's the public OnGameModeInt Call Back

pawn Код:
public OnGameModeInit()
{
                        // Cars //
    AddStaticVehicle(442,2485.5132,936.2726,10.6590,180.5455,0,36);
    AddStaticVehicle(445,2546.1306,1103.6194,10.6953,90.8396,47,47);
    AddStaticVehicle(517,2447.8838,1327.6361,10.6752,180.1042,55,84);
    AddStaticVehicle(442,2451.1055,1268.2374,10.6473,359.6552,25,109);
    AddStaticVehicle(458,2186.2278,2000.3541,10.6989,268.3111,109,1); //
    AddStaticVehicle(492,2103.4473,2079.3149,10.6021,270.7730,30,26); //
    AddStaticVehicle(510,1986.4924,2125.6079,10.4287,179.5675,39,39); //
    AddStaticVehicle(552,1964.7205,2146.1072,10.5161,90.9084,56,56); //
    AddStaticVehicle(559,1731.4071,1887.6912,10.4766,270.7834,36,8); //
                        // Baisc functions //
    ManualVehicleEngineAndLights();
    SetTimer("PayDay",360000,1);// 360000 = 1 hr
    SetTimer("ScoreUpdate", 1000, 1);
    LimitGlobalChatRadius(30.0);
    ShowPlayerMarkers(0);
    DisableInteriorEnterExits();
    SetGameModeText("RP GM by Sparke");
    return 1;
}
Reply
#2

Fixed it myself
Reply


Forum Jump:


Users browsing this thread: