modelid The model to create. 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 at. 0.0 will cause objects to render at their default distances. Usable since 0.3b. Limited to 300 prior to 0.3x.
Change the parameter of "Stream Distance" to a higher value.
https://sampwiki.blast.hk/wiki/CreateObject Код:
modelid The model to create. 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 at. 0.0 will cause objects to render at their default distances. Usable since 0.3b. Limited to 300 prior to 0.3x. |
CreateObject(16093, 211.64844, 1810.15625, 20.73438, 356.85840, 0.00000, 3.14159);
CreateObject(16093, 211.64844, 1810.15625, 20.73438, 356.85840, 0.00000, 3.14159, 200);
It's an optional parameter, just add it after the Z rotation of the object.
Example (Code without Draw Distance parameter): Код:
CreateObject(16093, 211.64844, 1810.15625, 20.73438, 356.85840, 0.00000, 3.14159); Код:
CreateObject(16093, 211.64844, 1810.15625, 20.73438, 356.85840, 0.00000, 3.14159, 200); |