tag mismatch - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: tag mismatch (
/showthread.php?tid=245450)
tag mismatch -
swieberdevos - 31.03.2011
Код:
final_speed = floatsqroot((speed_x * speed_x) + (speed_y * speed_y) + (speed_z * speed_z)) * 158.179;
this line gives me a tag mismatch =/
AW: tag mismatch -
Nero_3D - 31.03.2011
you need to define the variable
final_speed as float
And you should read the Scripting Basics page in the wiki =>
CLICK
Re: tag mismatch -
swieberdevos - 31.03.2011
Thanks, only 1 problem left. When driving backwards it's giving me 50km/h... which is to fast lol (in a infernus)
it should be around 20km/h
Re: tag mismatch -
Cameltoe - 31.03.2011
Quote:
Originally Posted by swieberdevos
Thanks, only 1 problem left. When driving backwards it's giving me 50km/h... which is to fast lol (in a infernus)
it should be around 20km/h
|
An infernus would be like an real world Ferarri, so 50 km/h in reverse wouldn't be to fast.
EDIT: I bet my mom's Mondeo even does 50 km/h going backwards.
AW: tag mismatch -
Nero_3D - 31.03.2011
Just change the last number if you want it slower