[FilterScript] Very simple speedometer
#10

Well I will tell you whats wrong with this.

1.) Use player textdraws currently this script would eventually fill all textdraw slots
2.) Incorrect velocity calculation 180.0 is the correct value
pawn Код:
floatround(floatsqroot(floatabs(floatpower(Pos[0] + Pos[1] + Pos[2], 2))) * 180.0);
3.) I don't see much issue with using OnPlayerUpdate() it will make for a very smooth speedo yeah you could use a timer instead for a bit more optimization.
4.) No clean up code for unloading FS
5.) No start up code for loading FS
Reply


Messages In This Thread
Very simple speedometer - by LeXuZ - 23.10.2014, 15:12
Re: Very simple speedometer - by TheRohlikar - 23.10.2014, 15:48
Re: Very simple speedometer - by nGen.SoNNy - 23.10.2014, 16:18
Re: Very simple speedometer - by Crayder - 23.10.2014, 16:32
Re: Very simple speedometer - by M0HAMMAD - 23.10.2014, 16:42
Respuesta: Very simple speedometer - by !R1Ch@rD! - 23.10.2014, 16:45
Re: Very simple speedometer - by LeXuZ - 23.10.2014, 17:18
Re: Very simple speedometer - by SpiritZ - 23.10.2014, 17:29
Re: Very simple speedometer - by LeXuZ - 23.10.2014, 17:43
Re: Very simple speedometer - by Pottus - 23.10.2014, 17:44

Forum Jump:


Users browsing this thread: 1 Guest(s)