Hi all.
Again, I have some problems converting some scripts to Lite-c.
I get an error when I run my project in this action :
...
ENTITY* Tyre;
...
action ATestTyre()
{
while(!TestCar)
{
wait(1);
}
VECTOR* temp;
VECTOR* temp2;
VECTOR* temp3;
VECTOR* dist;
VECTOR* Meio;
var SusPos ;
var UpForces;
var DownForces;
var ResultingForce;
var YouCanMove;
var Id = 0;
c_setminmax(me);
my.MaxCoilPressure = 150;
set (my,PASSABLE);
my.MinCoilPressure = 1;
my.MinDamperPressure = 0.3;
my.MaxCourse = 4;
my.SuspPosition = 1;
my.z = 1470;
my.VertSpeed = 0;
set(my,SHADOW);
my.TyreRay = 9.310;
---> Tyre[my.Ent_Id] = handle(me);
Error in line 267 :
Can not convert 'FIXED' to 'struct ENTITY'
I dont have a clue of why this happens.
Miserably I´m still very very rusty at Lite-c.
Any help will be highly appreciated.
Thx in advance.