PDA

View Full Version : [FilterScript] [FS]Truckmissions [V 1.0]


Sandra18[NL]
10/03/2008, 11:13 PM
[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:

There's a truck, a checkpoint appears somewhere on the map, drive (with a trailer attached) to that checkpoint within the timelimit.


How to instal:

Download Truckmissions.rar
Extract all files in the right folders
Make sure you have a folder called 'Truckmissions' in your 'scriptfiles'-folder
Add to your server.cfg: Filterscripts Truckmissions



How to create a new mission:

Login as rcon-admin
Type /createmission
The new mission will get automatically an ID
Type /editmission <ID> to edit a 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:

/startmission
/stopmission
/exit
/truckhelp
/truckmissions


Rcon-Admin:

/createmission
/deletemission <id>
/editmission <id>
/missioninfo <id>
/missionteleport <id> (to teleport to startposition of a mission)
/truckmodels <id> (shows a list of available truck- and trailer-models


ScreenShots:

EditingMenu:
http://img381.imageshack.us/img381/1376/samp147jo8.th.jpg (http://img381.imageshack.us/my.php?image=samp147jo8.jpg)http://img376.imageshack.us/img376/7087/samp148qu0.th.jpg (http://img376.imageshack.us/my.php?image=samp148qu0.jpg)

Asking Permission to set a new StartPosition:
http://img370.imageshack.us/img370/1430/samp149pn6.th.jpg (http://img370.imageshack.us/my.php?image=samp149pn6.jpg)

Example MissionInfo:
http://img382.imageshack.us/img382/4540/samp151vv6.th.jpg (http://img382.imageshack.us/my.php?image=samp151vv6.jpg)


Download:
- Truckmissions.rar (http://www.mediafire.com/?nmexdtuuxgp) (Dini & Dutils Included)
- Mirror (http://www.sendspace.com/file/mye3sr)
- Truckmissions.rar (Myfreefilehosting.com) (http://myfreefilehosting.com/f/d225f6e606_0.02MB) <<== 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<=

serj009
10/03/2008, 11:15 PM
0.o..nice!.Thanks alot..i could use this. :o

187monk
11/03/2008, 01:33 AM
Nice thanks always fun to play your scripts keep the good work :D

Dolch
11/03/2008, 12:32 PM
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 ^^"

godrax
11/03/2008, 12:40 PM
He crasht very much times :S

Shark[BR]
11/03/2008, 01:13 PM
looool !

i ll try this!

veeeery cool ! :mrgreen:

thanks a lot! :D

Warriors_Tornado
11/03/2008, 01:30 PM
nice thx a lot

Sandra18[NL]
11/03/2008, 02:43 PM
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. :s


He crasht very much times :S

Maybe you exceed the vehicles-limit (700), or vehicleModels-limit (70) or Menu-limit (128) ?

LarzI
11/03/2008, 03:22 PM
Nicely done Sandra, really like it ;)

LuxurioN™
11/03/2008, 06:02 PM
Nice Sandra! :mrgreen:

Rks25
11/03/2008, 08:06 PM
Veryy nice Sandraa!:)

cmg4life
12/03/2008, 11:27 AM
Nice Fs, S.

[LDT]LuxurY
12/03/2008, 02:37 PM
nice sandra. you still aren't tired of making scripts. my regards ;)

P1nd3r
12/03/2008, 03:46 PM
I'm not really interested in this sort of stuff but it looks good Mirror (http://www.sendspace.com/file/mye3sr) if you want it. ;)

Flagstaff
13/03/2008, 03:10 PM
lol i want to try it but the page you uploaded it have a maintenance xDD

P1nd3r
13/03/2008, 04:06 PM
lol i want to try it but the page you uploaded it have a maintenance xDD
That's what my mirror is for :D

Sandra18[NL]
13/03/2008, 04:09 PM
I'm not really interested in this sort of stuff but it looks good Mirror (http://www.sendspace.com/file/mye3sr) if you want it. ;)


Thanks, i added to the main-post :)

Rik_E
23/03/2008, 08:46 AM
Thank you sandra for this FS, it's realy usefull for my new truckers server.
Thank you

Sandra18[NL]
23/03/2008, 08:40 PM
Thank you sandra for this FS, it's realy usefull for my new truckers server.
Thank you


No problem ;)
Enjoy 8)

hab18
03/06/2008, 06:07 PM
mirrow pleas fix it pleas

pmigneous
04/06/2008, 10:22 PM
aah, can you possibly re-upload this? Both of the mirrors are dead. If you do re-up, I'll throw it up on my website, so there's at least one stable mirror.

Sandra18[NL]
05/06/2008, 08:29 AM
New mirror:

Truckmissions.rar (Myfreefilehosting.com) (http://myfreefilehosting.com/f/d225f6e606_0.02MB)

pmigneous
05/06/2008, 10:20 PM
New mirror:

Truckmissions.rar (Myfreefilehosting.com) (http://myfreefilehosting.com/f/d225f6e606_0.02MB)


Thanksabunch.

As Promised
http://www.stgaming.org/mirror/sa-mp/Truckmissions.rar

This goes for anyone else too, if you need a reliable mirror, lemme know.

Ovidiu
10/06/2008, 08:52 AM
I've got a problem using [FS] Truckmission 1.0 in [GM] Godfather.....i cant enter trucks that i've created with that [FS]...can somebody tell me how to make it working?

thanks

BigB
24/07/2008, 12:39 PM
is there a way to set multiple check points in a mission??

hunterman007
24/07/2008, 12:44 PM
ooh great just what i need :lol:

Sk8erBoi
24/07/2008, 04:01 PM
nice work
tnx

Alex_Duna
31/07/2008, 08:48 AM
added it to pen1 server and it is not working.. i created a mission with Linerunner (ID 403) and no trailer.. when i enter the linerunner it doesen't show me /startmission or /exit.. and if i type /startmission it says i'm not in a mission truck :|

Jimuro
26/09/2008, 04:52 PM
Ok umm i spent like 3 hours doin /createmission stuff and when i finaly finished, and done /gmx it took away my files and made #race1 ex. with 0 cords.... so yeh how would i actualy save it so it doesnt keep getting lost... beside copying the files and then pasting them all the time when u restart folder.

Street-Fighter
26/09/2008, 06:09 PM
My Server Crasht by use /create...

chaosnz
07/10/2008, 05:30 AM
Yeah i get the same problem. I login as rcon admin like every says to, i type /createmission and bang my server restarts
Any suggestions?

-eXo
02/04/2009, 05:58 PM
My game crashes when I try to edit anything except start point. (Using GF edit)
and server AND game crashes when naming the mission.

gooberz
28/06/2009, 06:39 PM
how do you login to rcon admin? i have a command that is /rcon login [pass], but wonse i login to admin, it says unknown command??

gooberz
04/07/2009, 03:08 AM
NVM, about last post but...when i make a mission and go to change the name it crashes....when i try and make a check point....it crashes, this script if full of crashing :(, please fix and repost link :) ....keep making them scripts sandra u rock!

PS: can you make a simple gang terf script, meaning the mini map shows diferent zone areas by color coding, that i could fill in my designated co-ordinaces and colors?

yezizhu
21/07/2009, 08:33 AM
Very nice!

Veinara
07/11/2009, 03:33 AM
Its a nice filterscript, sorry if I had re-bump this thread but have been looking for something similiar to this :P. Maybe make an edit of this and turn it into a Trucking Missions with missions already pre made :), then the admin can add more missions himself later kinda like 18 Wheels of Steel layout :D with a complete leveling system and etc, so that way it won't be any competition and someone can add it to a roleplay or something for a player to have something to do when nobody else is around in the server.

Pwnzor
07/11/2009, 05:51 PM
Works great :)

Mkb122
07/11/2009, 10:19 PM
When i typ /createmission with a truck and a trailer. I got crash!
Can u help me and with rpg mod whe get exp?

GforceNL
08/11/2009, 11:18 AM
When i typ /createmission with a truck and a trailer. I got crash!
Can u help me and with rpg mod whe get exp?

Sandra Quited Samp so...

Bomber
04/02/2010, 05:21 PM
EDIT: Never mind :)

Brian_Furios
17/02/2010, 12:23 PM
mirror please

florian941
15/03/2010, 09:19 AM
Can someone give me the Download link

Kann mir einer den Downloadlink schiken ???

Brian_Furios
15/03/2010, 12:23 PM
yeah we need this :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:

Dainyzxz
22/03/2010, 01:55 PM
i select use trailer, but mission not giving trailer

Mission file:

Name=Race #1
StartX=0.000000
StartY=0.000000
StartZ=0.000000
StartAngle=0.000000
EndX=0.000000
EndY=0.000000
EndZ=0.000000
CpSize=5
TruckModel=515
TruckColor1=-1
TruckColor2=-1
UseTrailer=0
TrailerModel=435
Prize=1000
TimeLimit=0
Highscore=9999999
HighscoreName=Nobody


no x,y,z
no name of race
no trailer
no time limit

XRVX
22/03/2010, 02:06 PM
Mirrors (http://uploadmirrors.com/download/5AC1CWI3/TruckMissions.rar)

panzerdeni
22/03/2010, 04:12 PM
http://img534.imageshack.us/img534/2047/lookthat.jpg (http://img534.imageshack.us/i/lookthat.jpg/) i gone try again but is not working please help if somebody can make a video is gone be very good thanks i only for the mistake but help me please i am tring to say HELP ME :D :D :D :-[ :-[ :-[ thanks :!: :!: :!:

XRVX
22/03/2010, 04:17 PM
are u logged in as rcon admin?

panzerdeni
22/03/2010, 04:18 PM
how i am useing one http://forum.sa-mp.com/index.php?topic=144533.0 that

panzerdeni
22/03/2010, 04:21 PM
do i need to type /rcon-admin this or what

DRIFT_HUNTER
22/03/2010, 04:58 PM
do i need to type /rcon-admin this or what


/rcon login [your RCON PASSWORD] (rcon password is in server.cfg)

panzerdeni
22/03/2010, 06:04 PM
f`ck windows vista when i pres SPACE it turn off the game what i need to do :(

Brian_Furios
22/03/2010, 07:19 PM
f`ck windows vista when i pres SPACE it turn off the game what i need to do :(


format PC :mrgreen: :mrgreen: :mrgreen:

I dont know man

Tutrix
22/03/2010, 09:22 PM
Nice ;)


Will try it out

Shukaz
02/04/2010, 06:22 PM
download link down? :o

XRVX
02/04/2010, 06:56 PM
download link down? :o

http://solidfiles.com/info_imgs/7vAb.jpg (http://solidfiles.com/d/7vAb)

TheDrifter
06/07/2010, 12:04 AM
Please Link

doreto
03/10/2010, 04:45 PM
pls someone to pm me how to create or delete mission i cant pls

jeffrey112
03/10/2010, 06:30 PM
when i create missions my server chrast ....

Georgelopez1
03/10/2010, 08:06 PM
When i do /startmission it says im not in a mission truck

doreto
06/10/2010, 12:26 PM
pls someone to pm me how to create or delete mission i cant pls help

yarrum3
15/10/2010, 04:08 AM
it made my server crash

[HUN]Poldzsiii
18/10/2010, 11:30 AM
i have 2 bug

i don't can create mission
server restart in 2 minutes at anytime

[HUN]Poldzsiii
18/10/2010, 05:21 PM
working thanx :D

DiinnZ
18/10/2010, 09:21 PM
I dont can compile your original script??????

C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(444) : error 017: undefined symbol "strtok"
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(444) : error 033: array must be indexed (variable "cmd")
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(474) : error 017: undefined symbol "strtok"
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(474) : error 033: array must be indexed (variable "tmp")
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(503) : error 017: undefined symbol "strtok"
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(503) : error 033: array must be indexed (variable "tmp")
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(530) : error 017: undefined symbol "strtok"
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(530) : error 033: array must be indexed (variable "tmp")
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(730) : error 017: undefined symbol "strtok"
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(730) : error 033: array must be indexed (variable "tmp")
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(753) : error 017: undefined symbol "strtok"
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(753) : error 033: array must be indexed (variable "tmp")
C:\Users\Humbokäse\Desktop\DreamLife\TruckMissions \filterscripts\Truckmissions.pwn(443) : warning 203: symbol is never used: "idx"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


12 Errors.

zack3021
21/10/2010, 05:24 AM
Why dont i get a trailer even if i enable it?

Fool
24/10/2010, 05:45 AM
Thanks, For This,
i Will Sure Add you to my credits!

R3G1ST3R
28/10/2010, 11:25 AM
Sorry for bumping this- I need help, I do /createmission, get everything set up, i add a trailer so you need a trailer, But when i get in and /startmission, No trailer comes? D:

doreto
12/11/2010, 05:02 PM
Originally Posted by godrax
He crasht very much times :S me too pls help when i press Enter on somewere is crash me pls help me

[MWR]Blood
12/11/2010, 06:05 PM
Nice one!

Skaizo
12/11/2010, 06:20 PM
loooool veeeeery nice

doreto
12/11/2010, 06:26 PM
it made my server crash

make crash my servar too pls help

doreto
26/11/2010, 06:34 PM
Originally Posted by godrax
He crasht very much times :S
pls help me is crash on me too pls someone to pm how to fix this crash pls !

BLAbla93
01/12/2010, 08:32 PM
... nvm messed up xD

faeldk
01/12/2010, 08:43 PM
very Nice! :D

Lookin
01/12/2010, 10:24 PM
nice job keep it up =D

This forum requires that you wait 120 seconds between posts. Please try again in 19 seconds.

ampie
17/12/2010, 03:55 PM
Thank you

[HUN]Poldzsiii
17/12/2010, 04:10 PM
any restart by This FilterScript

David_Nottz
17/02/2011, 08:51 PM
how can i make this script so if a person does a truck job they cant do another until 10mins after they finished their last one

Adnan Pasic
22/02/2011, 08:44 PM
Sandra i don't like it!!!!



I LOVE IT!!!! :D

kadaradam
01/03/2011, 04:20 PM
I making a job,but the server is write to the screen:"You are not in a Mission truck"
And i am in a mission truck

LZLo
01/03/2011, 04:22 PM
nice missions Sandra!

SnG.Scot_MisCuDI
21/03/2011, 12:46 AM
the trailer doesnt show up when i start a mission how to fix this>

SnG.Scot_MisCuDI
21/03/2011, 01:06 AM
when i start a mission no trailer appears and when i get to finish it says "you lost your trailer"

Gemini
23/03/2011, 02:06 PM
Perhaps could someone create a visable time counter, that will be shown somewhere on the screen? So that players have an idea how much time they've got left before reaching their checkpoint.

Ironboy
28/03/2011, 05:25 AM
Awesome sandra! :D

mcamp76
12/01/2012, 12:42 PM
Did anyone get the trailer to work ?

Ryan_Lar
12/01/2012, 12:59 PM
Nice Script, Bugged my server in terms of exiting interiors, to fix the trailer issue just spawn a trailer and have them back up onto it...

swagga_kidej
05/02/2012, 03:10 PM
this is nice bro keep up the good work...!!:cool:

bmxanrchy127
10/04/2012, 11:24 PM
whenever i click on any of the edit missions options like set player start and set player finish my game exits and my computer says gtasa has stopped working. PLease help!

bmxanrchy127
10/04/2012, 11:28 PM
i ran samp as a admin and its working a bit now but its still quits the game some times

Giannidw
02/07/2013, 07:24 AM
My gta closes when i select a menu item...

mahardika
11/07/2013, 01:45 PM
WoW Looks Great to RP server! nice, and thanks :)

iTiger
11/07/2013, 04:23 PM
great work
Keep it up

kingcrome
28/10/2013, 12:33 PM
Thank's so much iv been looking for something like this for ages and you did it! Love you man. Are am I allowed to change script and improve it to how I want it?