25.10.2010, 20:42
If you were to read correctly, you aren't using the correct syntax for the "CreateObject" function.
The "draw distance" is actually optional and not necessarily needed, so you could leave it out. If you are still having transparency issues, just update your SA-MP includes to the latest versions. If that doesn't solve your problem, using Incognito's Object Streamer, but also make sure you use the latest plugin and include.
Quote:
Parameters: (modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance) modelid The model you want to use. Float:X The X coordinate to create the object at. Float:Y The Y coordinate to create the object at. Float:Z The Z coordinate to create the object at. Float:rX The X rotation of the object. Float:rY The Y rotation of the object. Float:rZ The Z rotation of the object. Float:DrawDistance (optional) The distance that San Andreas renders objects. 0.0 will cause objects to render at their default distances. 300.0 is the usable maximum. Returns The ID of the object that was created. |