25.08.2010, 15:36
Hi... Thanks for the tutorial.. im having a trouble here... im testing this, i used to have another streamer (Midostream) so i changed the tutorial funtions so i didnt had to convernt anything...i dont know if theres the error.. the thing is, i connect (ID 0), and it wontshow the objects, the view distance is 200 by default, i setted it that way but it wont do... my code its basicly the same as that of yours... my create funtion is this one
and my objects are created this way
CreateDynamicObject(3866,2758.76342800,-2395.99682600,20.47137600,0.00000000,0.00000000,56 .25000000); //
The timer its the same as there, i modified a bit to debug it and see if it worked some other way but it did not so.. i need a hand...
Thanks in advance...
Код:
stock CreateDynamicObject(ModelID, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ,Float:Dist = 200.0) //Creates Objects { ObjectID++; //Id of the Object ObjectModel[ObjectID] = ModelID; //Model of the Object ObjectPos[ModelID][0] = X; //X Position ObjectPos[ModelID][1] = Y; //Y position ObjectPos[ModelID][2] = Z; //Z Position ObjectRotation[ObjectID][0] = rX; //Rotation X ObjectRotation[ObjectID][1] = rY; //Rotation Y ObjectRotation[ObjectID][2] = rZ; //Rotation Z ObjectDistance[ObjectID] = Dist; //Viewing Distance ObjectUsed[ObjectID] = 1; //Disable/Enable the object, Its enabled at creation }
CreateDynamicObject(3866,2758.76342800,-2395.99682600,20.47137600,0.00000000,0.00000000,56 .25000000); //
The timer its the same as there, i modified a bit to debug it and see if it worked some other way but it did not so.. i need a hand...
Thanks in advance...