30.12.2013, 17:11
Can somebody figure out why this doesn't work?
(CreateDynamicObject from Incognito's Streamer Plugin)
Streamer plugin is loaded before gamemode (that uses SAMPGDK).
(CreateDynamicObject from Incognito's Streamer Plugin)
Код:
int CreateDynamicObject(int modelid, float x, float y, float z, float rx, float ry, float rz, int worldid = -1, int interiorid = -1, int playerid = -1, float streamdistance = 200.0f) { return (int)sampgdk_invoke_native(sampgdk_find_native("CreateDynamicObject"), "iffffffiiif", modelid, x, y, z, rx, ry, rz, worldid, interiorid, playerid, streamdistance); }