Changing Skins in PPC_Trucking
#8

See look

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;
}
Reply


Messages In This Thread
Changing Skins in PPC_Trucking - by Geeboi_Mehdi - 11.08.2012, 17:16
Re: Changing Skins in PPC_Trucking - by FalconX - 11.08.2012, 17:38
Re: Changing Skins in PPC_Trucking - by Geeboi_Mehdi - 11.08.2012, 22:18
Re: Changing Skins in PPC_Trucking - by FalconX - 11.08.2012, 22:21
Re: Changing Skins in PPC_Trucking - by Geeboi_Mehdi - 11.08.2012, 22:30
Re: Changing Skins in PPC_Trucking - by HyDrAtIc - 11.08.2012, 22:37
Re: Changing Skins in PPC_Trucking - by HyDrAtIc - 11.08.2012, 22:40
Re: Changing Skins in PPC_Trucking - by Geeboi_Mehdi - 12.08.2012, 14:08
Re: Changing Skins in PPC_Trucking - by kickerbat - 12.08.2012, 14:10
Re: Changing Skins in PPC_Trucking - by Geeboi_Mehdi - 12.08.2012, 14:13

Forum Jump:


Users browsing this thread: 4 Guest(s)