13.04.2011, 01:15
Ok, i made a streamer in my gm. A BASIC streamer. And it gives me an error with the stock. code:
What should i do?
pawn Код:
stock CreateStreamedObject(ModelID, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ)
{
ObjectID++; //ObjectID
ObjectModel[ObjectID] = ModelID; //Model
ObjectPos[ObjectID][0] = X; //XPos
ObjectPos[ObjectID][1] = Y; //YPos
ObjectPos[ObjectID][2] = Z; //ZPos
ObjectRotation[ObjectID][0] = rX; //RotationX
ObjectRotation[ObjectID][1] = rY;//RotationY
ObjectRotation[ObjectID][2] = rZ; //RotationZ
ObjectDistance[ObjectID] = 100.0; //View distance
ObjectUsed[ObjectID] = 1; //Disable/enable the object, it's starting off being enabled.
}