SA-MP Forums Archive
[FilterScript] [FS]Car export [UPDATED] - 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]Car export [UPDATED] (/showthread.php?tid=56427)

Pages: 1 2


[FS]Car export [UPDATED] - Mikep - 27.11.2008

..::Car Export::..
Features:

• One checkpoint
• Uses CreateObject to cross of cars fro the board when they are sold
• Definable gamtextstyle
• Definable car prices
• Definable wait time
• Definable pickup
• Definable commands
• Definable sound ID
• Definable last car sold bonus score
• Definable points given when you sell a car (10 by default)
• Definable reset_time to set how long after you sell a car the camera will stay fixed on the board for
• Definable use_icon interpreting weather the map icon will be placed.
• Crosses off cars on the board when you sell them
• Definable admin command (/clearexport by default) to clear the "WANTED" list and let all players sell cars again
• Pickup, checkpoint, mapicon and objects deleted OnFilterScriptExit.
• /Exlist command to see cars availiable to sell

IMPORTANT:

This must be the FIRST filterscript in your server.cfg or the checkpooint wont show!

How it works:

Basically its just like the singleplayer one, you go to the SF docks and there is a checkpoint and when you drive into it, if its wanted it will be destroyed, you will be paid, and itll be crossed off the list!

Screenshot:



Video:
http://uk.youtube.com/watch?v=534UwSO6hL0&fmt=18 (Whats with this damn widescreen? Its crap!)

Download:

Version 5 Mirror 1 (deLUX click n host)
Version 5 Mirror 2 (Rapidshare)
Version 5 Mirror 3 (Pastebin)
Version 5 Mirror 4 (Canadian Pastebin)
Version 5 Mirror 5 (Sendspace)
Version 5 Mirror 6 (Mediafire)

Installation:

Compile export.pwn and add export.amx to your filterscripts folder.
Add "export" to your filterscripts line. It MUST be the first one! Example: "filterscripts export adminspec vactions"

Enjoy!


Re: [FS]Car export - Loyal - 27.11.2008

Iv seen somthing like this before, but great job mate !


Re: [FS]Car export - Mikep - 27.11.2008

Thanks, also added pic, video coming soon!


Re: [FS]Car export - siLvia - 27.11.2008

Ey maybe add the other List in an upcoming version?



Re: [FS]Car export - Norn - 28.11.2008

Quote:
Originally Posted by Mikep
Thanks, also added pic, video coming soon!
Wow, it actually crosses off the board? (Destroy object and recreate object with a new ID i'm guessing), never seen anything like this before thanks.




Re: [FS]Car export - whooper - 28.11.2008

wow yes there is something like this but this looks more kool


Re: [FS]Car export - notec100 - 28.11.2008

Looks pretty cool I'm goin to try it out thanks!


Re: [FS]Car export - Mikep - 28.11.2008

Thanks for the comments!

In next version ill add all 3 boards, not sure how ill do it yet but ill find a way

P.S This was requested on my forum ages ago by somebody, i didnt copy it from anyone!

Plus yes it uses CreateObject with the cross mark object to ACTUALLY cross off the car!!!


Re: [FS]Car export - Danut - 28.11.2008

lol this is the best , great job


Re: [FS]Car export - Mikep - 28.11.2008

Quote:
Originally Posted by Danut
lol this is the best , great job
Thanks


Re: [FS]Car export - miokie - 28.11.2008

This looks very good..
I didnt know you can cross things off of the board..


Re: [FS]Car export - Mikep - 28.11.2008

Added video: http://uk.youtube.com/watch?v=534UwSO6hL0&fmt=18


Re: [FS]Car export - [M]deLux - 28.11.2008

nice idea and nicely done!


Re: [FS]Car export - Mikep - 28.11.2008

Why thanks you delux, new version coming out soon, features:

• Whole script commented to help pawn learners
• Defines for car prices, waiting time etc.
• and more..


Re: [FS]Car export - JaTochNietDan - 28.11.2008

Quote:
Originally Posted by Mikep
Plus yes it uses CreateObject with the cross mark object to ACTUALLY cross off the car!!!
LOL thats nice, never thought of that, good job.


Re: [FS]Car export - extra - 28.11.2008

really nice


Re: [FS]Car export - Mikep - 28.11.2008

Thanks

Version 2 uploaded!

Features:

• The admins clear export command enables all players to sell cars again
• Wait time in minutes if definable
• Clear export, show export, hide export and car names are now definable.
• You can choose to include the "help" pickup as it is defined.
• You can define the prices for all the cars
• You can define the last sold car bonus
• You can define the sound ID for when you sell a car

I cant test this, if someone would like to test this for me id appreciate it.
Im trying my hardest to test it buyt its in my GM, i ahve checkpoints in other GM's etc. so im trying to sort it out,

and thanks heatON


Re: [FS]Car export - MenaceX^ - 28.11.2008

Lol, How did you make this blackboard?
With the
Wanted

at the top


Re: [FS]Car export - Mikep - 28.11.2008

its an object, im testing it right now and it seems the checkpoint only appeas if its the first filterscript, e.g "filterscripts adminspec vaction export" wouldnt work but "filterscripts export vactions adminspe" would.

I remember it said in a script somewhere OnPlayerConnect only works for the first filterscripts and the GM, so if you need OnPlayerConnect in a FS you might need to add this to your GM instead of running it as a filterscripts.

Im also trying to work out why the objects dont show until i reloadfs

EDIT:

ffs i #define FCR_price and it says ive sold it for $0 wtf is going on

EDIT2:

Fixed, redownload please :d


Re: [FS]Car export - Mikep - 30.11.2008

UPDATE:

• Definable points given when you sell a car (10 by default)
• Definable reset_time to set how long after you sell a car the camera will stay fixed on the board for
• Definable use_icon interpreting weather the map icon will be placed.
• Error message if you enter the checkpoint without a vehicle