GetDynamicObjectMaterial
#1

Hi,

I want to ask. This function will be only working if i wil be set a SetDynamicObjectMaterial ?
Reply
#2

Quote:

Originally Posted by Incognito View Post
http://code.******.com/p/samp-stream...ads/list?can=1

I've fixed a pretty major bug with pickups that sometimes caused them to stop streaming. Thanks to SPAWN_METAL for reporting this.

Added some new natives:

pawn Code:
native GetDynamicObjectMaterial(objectid, materialindex, &modelid, txdname[], texturename[], &materialcolor, maxtxdname = sizeof txdname, maxtexturename = sizeof texturename);
native GetDynamic3DTextLabelText(Text3D:id, text[], maxlength = sizeof text);

Since there can be multiple material indexes per object, you need to specify which one you want to use in GetDynamicObjectMaterial. (Also, note that this only retrieves what you've set with SetDynamicObjectMaterial.)
Found this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)