Created
January 18, 2015 04:35
-
-
Save mokiding/15a380962c71e6de0e91 to your computer and use it in GitHub Desktop.
Useful object streamer that streams objects realistically (the bigger the object, the farther it gets streamed from)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <a_samp> | |
#include <streamer> //by Incognito http://forum.sa-mp.com/showthread.php?t=102865 | |
#include <modelsizes> //by Y_Less http://forum.sa-mp.com/showthread.php?t=407909 | |
#define STREAM_CONSTANT 180 | |
stock StreamObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz) | |
{ | |
return CreateDynamicObject(modelid, x, y, z, rx, ry, rz,-1, -1, -1, STREAM_CONSTANT + GetColSphereRadius(modelid)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I honestly never thought of this XD