[FilterScript] JFS Speedometer v1.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] JFS Speedometer v1.0 (
/showthread.php?tid=396758)
JFS Speedometer v1.0 -
JonathanFeitosa - 01.12.2012
It contains:
- MP/H
- Shows the Speed ??Vehicle in MP / H.
- miles traveled
- Shows the KM traveled the Vehicle.
- place
- Shows the location where you are.
- vehicle
- Shows the Vehicle if you stay in 1.
- bodywork
- Shows the metal surface of the Vehicle.
- gasoline
- Shows Gasoline Vehicle.
- Taken for Bikes!
- Tire Wear
- Shows the tire wear Your Vehicle.
- Taken for land vehicles.
- Pinch a Right Front Tire when is 15%.
- Pinch a Left Front Tire when is 10%.
- Pinch a right rear tire when it is 5%.
- Pinch the 4 tires when it is at 0%.
- shield
- Shows the shield of your Vehicle.
- If you want to by all the cars in the Max Shielding born with.
System for Supply, Stow Tire and Vehicle Shield
- v1.0
- 13 Gas Stations LosSantos, SanFierro and LasVenturas.
- Can not Fill the gasoline, and the Bike Shield.
- There may also Arrange Tire Vehicles not land.
- System Panel Dialog
- 3D TextLabel
> image soon
Speedometer for landless Vehicles
Speedometer for Bikes
How to config:
pawn Код:
#define POSICAO 1 // Position Speedometer/* #define POSITION 1 - IMAGE: http://i45.tinypic.com/2wroz6a.jpg
#define POSITION 2 - IMAGE: http://i48.tinypic.com/105v8ci.jpg */#define MAXPLAYERSJFS 50 // Slots of the server#define BlindagemTodosVeiculos 0// put 1 if you like all vehicles armoreds#define DesgasteMAX 100 // Max. of tire ( 100% )#define BlindagemMAX 100 // Max. of shield ( 100% )#define GasMAX 100 // Max.of gas ( 100% )#define Tempo 15000 // Time to reduce gasoline#define TempoDes 30000 // Time to reduce
How to add speedometer in your server:
JFSSpeedometer1.amx place the folder
"filterscripts" and then put in server.cfg:
pawn Код:
filterscripts JFSSpeedometer1
Credit: Jonathan Feitosa
Investments in Small Codes: DrakinS
Main tips/Translated: URSS_Morelli
Original topic: https://sampforum.blast.hk/showthread.php?tid=396699
Download include zcmd: http://pastebin.com/cM2r3vqe
Bugs and Tips Notify me!
Re: JFS Speedometer v1.0 -
URSS_Morelli - 01.12.2012
Not bad, how does translated by?
Re: JFS Speedometer v1.0 -
Kar - 01.12.2012
pawn Код:
KMP[vehicle] += (floatround(floatmul(((floatmul(floatsqroot(floatadd(floatadd(floatpower(PosX, 2), floatpower(PosY, 2)), floatpower(PosZ, 2))), 170.0) * 1)), 1000)) / 3600);
wtf?
Re: JFS Speedometer v1.0 -
zProfessional - 02.12.2012
nice
Re: JFS Speedometer v1.0 -
Rocky Racoon - 02.12.2012
Nice work.
Re: JFS Speedometer v1.0 - Patrick - 02.12.2012
Bug Report:
Bodywork = not accurate
when you car is bodywork 18% the car is on fire that should be 0%
hope you fix it..
BTW: good job i like it
Respuesta: Re: JFS Speedometer v1.0 -
JonathanFeitosa - 03.12.2012
Quote:
Originally Posted by pds2012
Bug Report:
Bodywork = not accurate
when you car is bodywork 18% the car is on fire that should be 0%
hope you fix it..
BTW: good job i like it
|
Thanks... I will fix the error
Re: JFS Speedometer v1.0 -
Plovix - 03.12.2012
Awesome work,+rep for effort!
Re: JFS Speedometer v1.0 -
xPhantom - 03.12.2012
Not bad, looks good for a basic server.
Re: JFS Speedometer v1.0 -
Gaurav_Rawat - 03.12.2012
Cool Advance Speedo :O I like bodywork idea