SA-MP Forums Archive
[FilterScript] [FS]Truckmissions [V 1.0] - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS]Truckmissions [V 1.0] (/showthread.php?tid=29637)



[FS]Truckmissions [V 1.0] - Sandra18[NL] - 10.03.2008

[FS]Truckmissions [V 1.0]
What is it:
With this filterscript you can create and play Truckmissions very easy.

Truckmissions:
The idea is very simple: How to instal:
How to create a new mission: Editing a mission:
If you type /editmission <ID> a menu will appear.
Here you can change some things off a mission.

You can find these options:
- Change Name
- Set StartPosition
- Set FinishPosition
- Change CheckpointSize
- Change Truckmodel
- Reset Highscore
- View MissionInfo
- Reload Mission
- Use Trailer
- Change TrailerModel
- Change TruckColor
- Set TimeLimit

With the option "Change TruckColor" a new menu will appear with the following options:
- Change Color 1
- Change Color 2
- Show Color ID's (This will show the id's of some common colors)

Notes:

- When you changed the color, you have to Reload the mission to apply the new colors. (You can find this reload-function in the settings-menu (/editmission <id>)

- For the TimeLimit, fill in the number of seconds, if you fill in '0' there will be no timelimit.

- If you're gonna use a trailer, don't forget to keep some space behind the truck!


Playing a mission:
If you want to play a mission, you have to be inside one of the Mission-trucks.
When you enter a truck, you will be frozen.
Than you will be asked to type /startmission or /exit
if you choose for /exit, you will get unfrozen and removed from the truck,
if you choose for /startmission, a trailer will be attached (if enabled) and a checkpoint will appear on the map.

If you exit your truck during a mission, you have 10 seconds to get back inside, else the mission is over.
Also if the truck gets destroyed or you exeeded the timelimit, the mission is over.

You can stop your mission anytime by using /stopmission


Commands: Rcon-Admin: ScreenShots:

EditingMenu:


Asking Permission to set a new StartPosition:


Example MissionInfo:



Download:
- Truckmissions.rar (Dini & Dutils Included)
- Mirror
- Truckmissions.rar (Myfreefilehosting.com) <<== NEW

Credits:
- DracoBlue: Dini&Dutils
- Mike: IsNumeric-function
- Whoever typed the vehiclenames-array

Other:
This is a quite complex script and had not much time to test with multiple players, so there might be some bugs.
Please report them.

Have fun with this FS.

=>Sandra<=


Re: [FS]Truckmissions [V 1.0] - serj009 - 10.03.2008

0.o..nice!.Thanks alot..i could use this.


Re: [FS]Truckmissions [V 1.0] - 187monk - 11.03.2008

Nice thanks always fun to play your scripts keep the good work


Re: [FS]Truckmissions [V 1.0] - Dolch - 11.03.2008

How to close the Admin-Edit Menu? o.O
F or ENTER doesnt work and there's no option to close the menu.
Either I'm too stupid or there's nothing to close it ^^"


Re: [FS]Truckmissions [V 1.0] - godrax - 11.03.2008

He crasht very much times :S


Re: [FS]Truckmissions [V 1.0] - Shark[BR] - 11.03.2008

looool !

i ll try this!

veeeery cool !

thanks a lot!


Re: [FS]Truckmissions [V 1.0] - Warriors_Tornado - 11.03.2008

nice thx a lot


Re: [FS]Truckmissions [V 1.0] - Sandra18[NL] - 11.03.2008

Quote:
Originally Posted by Dolch
How to close the Admin-Edit Menu? o.O
F or ENTER doesnt work and there's no option to close the menu.
Either I'm too stupid or there's nothing to close it ^^"
It should be the same button as the button you use to exit a vehicle.

Quote:
Originally Posted by godrax
He crasht very much times :S
Maybe you exceed the vehicles-limit (700), or vehicleModels-limit (70) or Menu-limit (12 ?



Re: [FS]Truckmissions [V 1.0] - LarzI - 11.03.2008

Nicely done Sandra, really like it


Re: [FS]Truckmissions [V 1.0] - LuxurioN™ - 11.03.2008

Nice Sandra!