[Map] MAPS IN TRUCKING SERVERS
#1

codes

#include PPC_GameModeInit

CreateDynamicObject(987, 418.10000610352, 2526.6999511719, 15.5, 0, 0, 0,2);
CreateDynamicObject(987, 406.10000610352, 2526.8999023438, 15.5, 0, 0, 0,2);
CreateDynamicObject(987, 394.20001220703, 2526.8999023438, 15.5, 0, 0, 0,2);
CreateDynamicObject(987, 382.29998779297, 2527, 15.60000038147, 0, 0, 0,2);
CreateDynamicObject(987, 370.20001220703, 2527, 15.60000038147, 0, 0, 0,2);
CreateDynamicObject(987, 358.69921875, 2527.099609375, 15.699999809265, 0, 0, 0,2);
CreateDynamicObject(987, 346.79998779297, 2527.1000976563, 15.699999809265, 0, 0, 0,2);
CreateDynamicObject(987, 334.70001220703, 2527, 15.800000190735, 0, 0, 0,2);
CreateDynamicObject(987, 323.10000610352, 2527.3999023438, 15.800000190735, 0, 0, 0,2);
CreateDynamicObject(987, 311.29998779297, 2527.6999511719, 15.800000190735, 0, 0, 0,2);
CreateDynamicObject(987, 299.29998779297, 2527.8000488281, 15.800000190735, 0, 0, 0,2);
CreateDynamicObject(987, 287.29998779297, 2527.8000488281, 15.800000190735, 0, 0, 0,2);
CreateDynamicObject(987, 275.3994140625, 2527.7998046875, 15.800000190735, 0, 0, 0,2);
CreateDynamicObject(987, 435.39999389648, 2488.5, 15.5, 0, 0, 246,2);
CreateDynamicObject(987, 383.70001220703, 2478, 15.5, 0, 0, 179.99450683594,2);
CreateDynamicObject(987, 419.3994140625, 2478.19921875, 15.5, 0, 0, 179.99450683594,2);
CreateDynamicObject(987, 407.599609375, 2478.19921875, 15.5, 0, 0, 179.99450683594,2);
CreateDynamicObject(987, 395.69921875, 2478.19921875, 15.5, 0, 0, 179.99450683594,2);
CreateDynamicObject(987, 360.10000610352, 2478.5, 15.5, 0, 0, 179.99450683594,2);
CreateDynamicObject(987, 371.8994140625, 2478.099609375, 15.5, 0, 0, 179.99450683594,2);
CreateDynamicObject(987, 312.39999389648, 2478.1999511719, 15.5, 0, 0, 179.99450683594,2);
CreateDynamicObject(987, 348.19921875, 2478.2998046875, 15.5, 0, 0, 179.99450683594,2);
CreateDynamicObject(987, 336.2998046875, 2478.19921875, 15.5, 0, 0, 179.99450683594,2);06, 15.5, 0, 0,


C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 4) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 5) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 6) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 7) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 9) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 10) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 11) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 12) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 13) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 14) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 15) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 16) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 17) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 1 : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 19) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 20) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 21) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 22) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 23) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 24) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 25) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 26) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 27) : error 010: invalid function or declaration
C:\Users\Honey\Desktop\FR 2013\filterscripts\maps.pwn(691 -- 2 : error 010: invalid function or declaration

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


26 Errors.
plz help
Reply
#2

nice map

sarcasm off duh
Reply
#3

Yeah if thats a Filterscript make sure to define createdynamicobject.. And i wouldn't be loading my server up with mapping filterscripts, put them in the gamemode.
Reply
#4

i cant put it in GM i am getting another error
Reply
#5

Quote:
Originally Posted by Honey
Посмотреть сообщение
i cant put it in GM i am getting another error
add it under public OnGamemodeInit
Reply
#6

where plz can you post the exact code
Reply
#7

C:\Users\Honey\Desktop\FR 2013\gamemodes\PPC_Trucking.pwn(54) : error 021: symbol already defined: "CreateDynamicObject"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#8

CTRL +F > OnGameModeInIt > Put the code under that
Reply
#9

C:\Users\Honey\Desktop\FR 2013\gamemodes\PPC_Trucking.pwn(55) : error 021: symbol already defined: "CreateDynamicObject"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Reply
#10

// This callback gets called when the server initializes the gamemode
public OnGameModeInit()

{
new HostCommand[128];
// Change the hostname
format(HostCommand, 128, "hostname %s", GameModeName);
SendRconCommand(HostCommand);
SetGameModeText(GameModeName); // Set the Mode of the gamemode, which appears in the list of servers

GameModeInit_VehiclesPickups(); // Add all static vehicles and pickups when the server starts that are required (also load the houses)
GameModeInit_Classes(); // Add character models to the class-selection (without weapons)

Convoys_Init(); // Setup textdraws and default data for convoys

ShowPlayerMarkers(1); // Show players on the entire map (and on the radar)
ShowNameTags(1); // Show player names (and health) above their head
ManualVehicleEngineAndLights(); // Let the server control the vehicle's engine and lights
EnableStuntBonusForAll(0); // Disable stunt bonus for all players
DisableInteriorEnterExits(); // Removes all building-entrances in the game
UsePlayerPedAnims(); // Use CJ's walking animation

// Start the timer that will show timed messages every 2 minutes
SetTimer("Timer_TimedMessages", 1000 * 60 * 2, true);
// Start the timer that will show a random bonus mission for truckers every 5 minutes
SetTimer("ShowRandomBonusMission", 1000 * 60 * 5, true);
// Start the timer that checks the toll-gates
SetTimer("Toll", 1000, true);

// Fix the bugged houses (after fixing the houses, you can remove this line, as it's not needed anymore)
FixHouses();

// While the gamemode starts, start the global timer, and run it every second
SetTimer("GlobalTimer", 1000, true);

return 1;

}

THIS IS THE CODE OF GAMEMODEINIT WHERE CAN I KEEP I AM GETTING MANY ERRORS WHEN KEEPING UNDER THIS
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)