SA-MP Forums Archive
Speed - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Speed (/showthread.php?tid=369952)



Speed - Akcent_Voltaj - 18.08.2012

hi the max speed for Infernus is 200km..how can i make maxim speed to pe 240km??

PHP код:
format(TD_String25"%i Km/h"floatround(floatsqroot(((A[0] * A[0]) + (A[1] * A[1])) + (A[2] * A[2])) * 160.0)); //Regular: 160.0
                                
TextDrawSetString(Text:Values[i][1], TD_String); 
or say what you need!


Re: Speed - Akcent_Voltaj - 18.08.2012

anyoe help please!


Re: Speed - ikkentim - 18.08.2012

You can't.


Re: Speed - playbox12 - 18.08.2012

You can by adjusting the magic value, I love that word, which is 160 now, look in the scripting discussion forums for the Real vehicle speed thread.

https://sampforum.blast.hk/showthread.php?tid=364124