SA-MP Forums Archive
[GameMode] HKTrucking - SA:MP 0.3x Trucking Gamemode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] HKTrucking - SA:MP 0.3x Trucking Gamemode (/showthread.php?tid=462300)

Pages: 1 2


HKTrucking - SA:MP 0.3x Trucking Gamemode - [HK]Ryder[AN] - 06.09.2013

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
  • 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
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}
};
Screenshots
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>


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - ChaseTheFun - 06.09.2013

You should add a police team


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - hossa - 06.09.2013

+1
seems nice.


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - Mckarlis - 06.09.2013

Looks great but could you add a police class than it will be ammazing


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - [HK]Ryder[AN] - 06.09.2013

I will see what I can do.

Thanks for the positive comments


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - xShadow - 06.09.2013

Awesome!


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - [HK]Ryder[AN] - 07.09.2013

Thank you.

Updated with Pics


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - Tuntun - 07.09.2013

Server cfg:
Код:
echo Executing Server Config...
lanmode 0
rcon_password 4656464651
maxplayers 50
port 7777
hostname Tuntun's 0.3x Server.
gamemode0 Truck
filterscripts
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
Error/Server log:

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[23:17:28] filterscripts = ""  (string)
[23:17:28] 
[23:17:28] Server Plugins
[23:17:28] --------------
[23:17:28]  Loaded 0 plugins.

[23:17:28] 
[23:17:28] Ban list
[23:17:28] --------
[23:17:28]  Loaded: samp.ban
[23:17:28] 
[23:17:28] 
[23:17:28] Filterscripts
[23:17:28] ---------------
[23:17:28]   Loaded 0 filterscripts.

[23:17:28] Script[gamemodes/Truck.amx]: Run time error 19: "File or function is not found"
[23:17:28] Number of vehicle models: 0



Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - denom - 07.09.2013

@Tuntun You need Whirlpool and sscanf plugin.. that always happen when theres a missing plugin :/


EDIT:
This
Код:
echo Executing Server Config...
lanmode 0
rcon_password 4656464651
maxplayers 50
port 7777
hostname Tuntun's 0.3x Server.
gamemode0 Truck
filterscripts
announce 0
query 1
plugins sscanf whirlpool
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]



Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - [HK]Ryder[AN] - 07.09.2013

@Tuntun - I have mentioned the requirements

@denom - Thanks for helping him/her out


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - Xtream - 07.09.2013

Add some better stuffs and classes...But nice job


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - SRB - 07.09.2013

i cant open that server! why? can someone fiks it and just give me rar download of all plugins and all the other files please, i wanna try the server


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - [HK]Ryder[AN] - 07.09.2013

Quote:
Originally Posted by Xtream
View Post
Add some better stuffs and classes...But nice job
Thanks. This is incomplete and I don't think I will be updating it.

Quote:
Originally Posted by SRB
View Post
i cant open that server! why? can someone fiks it and just give me rar download of all plugins and all the other files please, i wanna try the server
Added Server Package for download


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - Tuntun - 07.09.2013

Nice work bro... you should add some vehicles in gamemode.


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - Tuntun - 09.09.2013

Sorry for x2 posts but there is few bugs. Like: register system - After i register i can login with any password.

2: Maps,my spawns... fall into the water.

Also please add housing and vehicle system


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - [HK]Ryder[AN] - 10.09.2013

@Tuntun - I have stopped the development of this project and won't be working on it anymore. Check out the login system.


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - ChandraLouis - 10.09.2013

Nice Tested


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - [HK]Ryder[AN] - 10.09.2013

Thank you


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - maaz - 10.09.2013

WoW awesome gamemode i will surely try it


Re: HKTrucking - SA:MP 0.3x Trucking Gamemode - [HK]Ryder[AN] - 25.03.2014

Quote:
Originally Posted by maaz
View Post
WoW awesome gamemode i will surely try it
THank you

I am a fast reply'er eh?