06.09.2013, 12:23
(
Последний раз редактировалось [HK]Ryder[AN]; 31.01.2016 в 09:40.
)
Introduction
Today, I introduce you to my trucking game mode I had made quite a long time back. I had not published it that time but I am releasing it now. So, Have fun with my gamemode.
Features
Teams
What You Need to Do
How Do I customize the Mission Locations?
The enums follow this pattern -
ID,
LoadName[128],
Float:LoadX,
Float:LoadY,
Float:LoadZ,
Float:UnloadX,
Float:UnloadY,
Float:UnloadZ,
Pay
This means you need to set the LoadX, LoadY, LoadZ and UnloadX, UnloadY & UnloadZ values.
LoadX - It is the X coordinate of the location from where the mission will start
LoadY - It is the Y coordinate of the location from where the mission will start
LoadZ - It is the Z coordinate of the location from where the mission will start
UnloadX - It is the X coordinate of the location where the mission will end
UnloadY - It is the Y coordinate of the location where the mission will end
UnloadZ - It is the Z coordinate of the location where the mission will end
You need to edit these values in the script under the 'Job Stuff' region. It starts from Line No. 1288.
The code is -
Screenshots
Registration
Rules
Teams
Ban Textdraw
Requirements
Credits
SA:MP Team - Without whom, nothing would have been possible
****** - y_commands, Whirlpool, sscanf
Spookie - Pawno
[HK]Ryder[AN] - This Script
Download
Source File
Github - https://github.com/hardikk21/hktrucking/tree/master
Server Package
<removed>
Today, I introduce you to my trucking game mode I had made quite a long time back. I had not published it that time but I am releasing it now. So, Have fun with my gamemode.
Features
- Whirlpool Hashing
- ZCMD
- Y_INI
- sscanf2
- 5 Different Teams to choose from
- Many missions
- Registration Questions
Teams
- Trucker
- Busdriver
- Taxidriver
- Pilot
- Boatdriver
What You Need to Do
- Customize the registration questions
- Customize the mission locations
- Understand the code
How Do I customize the Mission Locations?
The enums follow this pattern -
ID,
LoadName[128],
Float:LoadX,
Float:LoadY,
Float:LoadZ,
Float:UnloadX,
Float:UnloadY,
Float:UnloadZ,
Pay
This means you need to set the LoadX, LoadY, LoadZ and UnloadX, UnloadY & UnloadZ values.
LoadX - It is the X coordinate of the location from where the mission will start
LoadY - It is the Y coordinate of the location from where the mission will start
LoadZ - It is the Z coordinate of the location from where the mission will start
UnloadX - It is the X coordinate of the location where the mission will end
UnloadY - It is the Y coordinate of the location where the mission will end
UnloadZ - It is the Z coordinate of the location where the mission will end
You need to edit these values in the script under the 'Job Stuff' region. It starts from Line No. 1288.
The code is -
pawn Код:
new MisLocations[][MisLocationsEnum] =
{
{0, "Mission 1",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{1, "Mission 2",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{2, "Mission 3",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{3, "Mission 4",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{4, "Mission 5",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{5, "Mission 6",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{6, "Mission 7",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{7, "Mission 8",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{8, "Mission 9",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{9, "Mission 10",0.3,0.3,0.3,0.3,0.3,0.3,5000}
};
new BusLocations[][BusLocationsEnum] =
{
{0, "Mission 1",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{1, "Mission 2",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{2, "Mission 3",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{3, "Mission 4",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{4, "Mission 5",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{5, "Mission 6",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{6, "Mission 7",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{7, "Mission 8",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{8, "Mission 9",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{9, "Mission 10",0.3,0.3,0.3,0.3,0.3,0.3,5000}
};
new TaxiLocations[][TaxiLocationsEnum] =
{
{0, "Mission 1",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{1, "Mission 2",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{2, "Mission 3",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{3, "Mission 4",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{4, "Mission 5",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{5, "Mission 6",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{6, "Mission 7",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{7, "Mission 8",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{8, "Mission 9",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{9, "Mission 10",0.3,0.3,0.3,0.3,0.3,0.3,5000}
};
new PilotLocations[][PilotLocationsEnum] =
{
{0, "Mission 1",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{1, "Mission 2",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{2, "Mission 3",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{3, "Mission 4",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{4, "Mission 5",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{5, "Mission 6",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{6, "Mission 7",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{7, "Mission 8",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{8, "Mission 9",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{9, "Mission 10",0.3,0.3,0.3,0.3,0.3,0.3,5000}
};
new BoatLocations[][BoatLocationsEnum] =
{
{0, "Mission 1",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{1, "Mission 2",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{2, "Mission 3",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{3, "Mission 4",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{4, "Mission 5",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{5, "Mission 6",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{6, "Mission 7",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{7, "Mission 8",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{8, "Mission 9",0.3,0.3,0.3,0.3,0.3,0.3,5000},
{9, "Mission 10",0.3,0.3,0.3,0.3,0.3,0.3,5000}
};
Registration
Rules
Teams
Ban Textdraw
Requirements
- ZCMD
- sscanf2
- YSI
- Whirlpool
Credits
SA:MP Team - Without whom, nothing would have been possible
****** - y_commands, Whirlpool, sscanf
Spookie - Pawno
[HK]Ryder[AN] - This Script
Download
Source File
Github - https://github.com/hardikk21/hktrucking/tree/master
Server Package
<removed>