SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 20/06/2011, 04:30 PM   #1021
morlox330
Little Clucker
 
Join Date: Apr 2011
Posts: 2
Reputation: 0
Default Re: My own trucking server (still in development)

where do I put for hosting these plugins?
write me at Unkown mode .. What is STIM?
morlox330 is offline   Reply With Quote
Old 20/06/2011, 04:33 PM   #1022
Ligeti Ferenc
Little Clucker
 
Join Date: Nov 2010
Posts: 33
Reputation: 0
Default Re : My own trucking server (still in development)

How can I add new Trucking depo ? in /rescue ?
Ligeti Ferenc is offline   Reply With Quote
Old 21/06/2011, 11:05 AM   #1023
Seba.
Little Clucker
 
Join Date: Dec 2010
Posts: 14
Reputation: 0
Default Re: Re : My own trucking server (still in development)

Quote:
Originally Posted by Ligeti Ferenc View Post
How can I add new Trucking depo ? in /rescue ?
Add in PPC_Defines.inc location of your depo,
Code:
new ASpawnLocationsTrucker[][TSpawnLocation] =
{
	{-525.0, -502.0, 26.0, 0.0}, // Fallen Tree Depot
	{-74.7, -1137.5, 4.5, 0.0}, // Flint Trucking Depot
	{1457.0, 975.5, 11.0, 0.0}, // LVA Freight Depot
	{-2136.0, -247.5, 36.5, 270.0}, // Doherty Depot
	{1766.5, -2040.7, 14.0, 270.0}, // El Corona Depot
	{-546.0, 2594.0, 54.0, 270.0}, // Las Payasdas Depot
	{332.0, 900.0, 25.0, 205.0}, // Quarry Top
	{-1575.0, -2724.0, 49.0, 146.0}, // Shady Creek Depot
        {2359.98, 549.67, 4.86, 0.0} //Your Depot Location
};
Don't forgot about "," after {-1575.0, -2724.0, 49.0, 146.0}
(Shady Creek)

next, in PPC_PlayerCommands.inc add to command /rescue

Code:
	case ClassTruckDriver: // Ask where the trucker player wants to respawn
								ShowPlayerDialog(playerid, DialogRescue, DIALOG_STYLE_LIST, "{000800}Choose trucker spawn point:", "Fallen Tree Depot\r\nFlint Trucking Depot\r\nLVA Freight Depot\r\nDoherty Depot\r\nEl Corona Depot\r\nLas Payasdas Depot\r\nQuarry Top\r\nShady Creek Depot", "Spawn", "Cancel");
Add after "Shady Creek Depot" \r\nYourDepotName
So, it's looks that:
Code:
Shady Creek Depot\r\nYourDepotName",
If you want Auto-Spawn to your location after class select you need open PPC_Dialogs.inc and change it:
Code:
Dialog_Rescue(playerid, response, listitem)
{
	// Just close the dialog if the player clicked "Cancel"
	if(!response) return 1;

	// Check the class of the player
	switch (APlayerData[playerid][PlayerClass])
	{
		case ClassTruckDriver:
		{
			// Set the coordinates based on the selection in the list
			switch (listitem)
			{
				case 0: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -525.0, -502.0, 26.0, 0.0, 0, 0, 0, 0, 0, 0);
				case 1: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -74.7, -1137.5, 4.5, 0.0, 0, 0, 0, 0, 0, 0);
				case 2: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1457.0, 975.5, 11.0, 0.0, 0, 0, 0, 0, 0, 0);
				case 3: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -2136.0, -247.5, 36.5, 270.0, 0, 0, 0, 0, 0, 0);
				case 4: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1766.5, -2040.7, 14.0, 270.0, 0, 0, 0, 0, 0, 0);
				case 5: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -546.0, 2594.0, 54.0, 270.0, 0, 0, 0, 0, 0, 0);
				case 6: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 332.0, 900.0, 25.0, 205.0, 0, 0, 0, 0, 0, 0);
				case 7: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -1575.0, -2724.0, 49.0, 146.0, 0, 0, 0, 0, 0, 0);

		}
Add:
Code:
				case 8: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), XXXX.XX, YYYY.YY, ZZZZ.ZZ, 0.0, 0, 0, 0, 0, 0, 0);
			}
So, it looks that (Copy from Trucking Forever)
Code:
Dialog_Rescue(playerid, response, listitem)
{
	// Just close the dialog if the player clicked "Cancel"
	if(!response) return 1;

	// Check the class of the player
	switch (APlayerData[playerid][PlayerClass])
	{
		case ClassTruckDriver:
		{
			// Set the coordinates based on the selection in the list
			switch (listitem)
			{
				case 0: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -525.0, -502.0, 26.0, 0.0, 0, 0, 0, 0, 0, 0);
				case 1: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -74.7, -1137.5, 4.5, 0.0, 0, 0, 0, 0, 0, 0);
				case 2: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1457.0, 975.5, 11.0, 0.0, 0, 0, 0, 0, 0, 0);
				case 3: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -2136.0, -247.5, 36.5, 270.0, 0, 0, 0, 0, 0, 0);
				case 4: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1766.5, -2040.7, 14.0, 270.0, 0, 0, 0, 0, 0, 0);
				case 5: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -546.0, 2594.0, 54.0, 270.0, 0, 0, 0, 0, 0, 0);
				case 6: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 332.0, 900.0, 25.0, 205.0, 0, 0, 0, 0, 0, 0);
				case 7: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -1575.0, -2724.0, 49.0, 146.0, 0, 0, 0, 0, 0, 0);
				case 8: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 2359.98, 549.67, 4.86, 0.0, 0, 0, 0, 0, 0, 0);
			}
		}


Recompile PPC_Trucking.pwn

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

And my question, How to add Speedometer in command /spec
__________________

INTERNATIONAL CARGO TRUCKING SERVER

http://internationalst.smfforfree.com
IP: 91.82.84.189:7799
Seba. is offline   Reply With Quote
Old 22/06/2011, 05:33 PM   #1024
Ligeti Ferenc
Little Clucker
 
Join Date: Nov 2010
Posts: 33
Reputation: 0
Default Re : My own trucking server (still in development)

how can I add new admin system ? Lux admin ?
Ligeti Ferenc is offline   Reply With Quote
Old 22/06/2011, 08:45 PM   #1025
Seba.
Little Clucker
 
Join Date: Dec 2010
Posts: 14
Reputation: 0
Default Re: My own trucking server (still in development)

I'm using lux admin in trucking forever.
http://forum.sa-mp.com/showthread.php?t=120724
Here you have instruction
You can remove some LuxAdmin's commands (setscore, setcash, giveallcash, giveweapon etc.) because antyhack blocking work of this commands, but commands vget, get, lgoto, goto, get, slap, freeze, mute etc. are very useful, so I'm using LuxAdmin. Probably i change to LAdmin (it's better)


Quote:
Originally Posted by LuxurioN™
LuxAdmin Installation
Download the file!
Unzip the Files! (Recommended use Winrar)
Put 1LuxAdmin.amx' in your 'filterscripts' folder
Put plugin 1Whirlpool' in your 'plugins' folder
Put 'lfuncs', 'ldudb' and 'ladmin' in your 'pawno/include' folder
After, put the folder 'LuxAdmin' in your 'scriptfiles' folder
Open 'Server.cfg'
Go to in line 'filterscripts;
Add 'LuxAdmin' (filterscripts LuxAdmin)
Then add 'Whirlpool' in plugins line (plugins Whirlpool)
Save the file!
Done!

Other Method:
Copy all folders 'filterscripts,pawno,scriptfiles,plugins&#3 9;
Replace the folders of your server for them.
Open 'Server.cfg'
Go to in line 'filterscripts'
Add 'LuxAdmin' (filterscripts LuxAdmin)
Then add 'Whirlpool' in plugins line (plugins Whirlpool)
Save the file!
Done!
__________________

INTERNATIONAL CARGO TRUCKING SERVER

http://internationalst.smfforfree.com
IP: 91.82.84.189:7799
Seba. is offline   Reply With Quote
Old 24/06/2011, 07:25 AM   #1026
Ligeti Ferenc
Little Clucker
 
Join Date: Nov 2010
Posts: 33
Reputation: 0
Default Re : My own trucking server (still in development)

whats your XFire Seba ?
Ligeti Ferenc is offline   Reply With Quote
Old 24/06/2011, 07:38 AM   #1027
Rysoku
Big Clucker
 
Join Date: Jun 2011
Location: SC4MPT0N
Posts: 58
Reputation: 3
Default Re: My own trucking server (still in development)

Quote:
Originally Posted by funky1234 View Post
thimo, i have to say, you just got owned.

Anywho, Good Luck with the baby!
Yep, busted, I was a trusted & highly respected player there until thimo banned me for, 'cya'.
__________________
The best comedy

Rysoku is offline   Reply With Quote
Old 24/06/2011, 08:00 AM   #1028
Ligeti Ferenc
Little Clucker
 
Join Date: Nov 2010
Posts: 33
Reputation: 0
Default Re : My own trucking server (still in development)

this is my server: 91.82.84.189:7799
Ligeti Ferenc is offline   Reply With Quote
Old 24/06/2011, 09:57 AM   #1029
Seba.
Little Clucker
 
Join Date: Dec 2010
Posts: 14
Reputation: 0
Default Re: Re : My own trucking server (still in development)

Quote:
Originally Posted by Ligeti Ferenc View Post
whats your XFire Seba ?
I haven't xFire, but i have skype: sebus381


Quote:
Originally Posted by Ligeti Ferenc View Post
this is my server: 91.82.84.189:7799
This server is hosted?
In server website your nick is JuSt?

edit:
i have xfire now, sebus381
__________________

INTERNATIONAL CARGO TRUCKING SERVER

http://internationalst.smfforfree.com
IP: 91.82.84.189:7799

Last edited by Seba.; 24/06/2011 at 11:33 AM.
Seba. is offline   Reply With Quote
Old 24/06/2011, 10:35 AM   #1030
[BP]Tony
Huge Clucker
 
[BP]Tony's Avatar
 
Join Date: Jun 2011
Location: Washington
Posts: 210
Reputation: 8
Default Re: My own trucking server (still in development)

Nice gm dude Nice work
__________________
[BP]Tony is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] PPC_TRUCKING ThiagoMK Português/Portuguese 4 30/07/2013 05:44 PM
Fix id Bug in PPC_Trucking Geeboi_Mehdi Client Support 11 18/05/2013 08:02 PM
PPC_Trucking Baumann Scripting Help 1 07/12/2012 03:28 PM
PPC_Trucking Baumann Scripting Help 1 02/12/2012 02:43 PM
PPC_Trucking help Private200 Scripting Help 1 16/11/2012 08:23 AM


All times are GMT. The time now is 01:00 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.