tag mismatch
#1

Код:
final_speed = floatsqroot((speed_x * speed_x) + (speed_y * speed_y) + (speed_z * speed_z)) * 158.179;
this line gives me a tag mismatch =/
Reply
#2

you need to define the variable final_speed as float

And you should read the Scripting Basics page in the wiki => CLICK
Reply
#3

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
Reply
#4

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.
Reply
#5

Just change the last number if you want it slower
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)