Material problem rep+
#1

Why i can't see texture on my selected object...
Код:
public OnGameModeInit()
{
	new object;
	object = CreateDynamicObject(2907, 186.48729, 2078.24878, 21.63369,   0.00000, 0.00000, 0.00000);
	SetObjectMaterial(object,0,2976,"gloopx","alien_liquid",0xFFFFFFFF);
Reply
#2

Hey, you are using wrong function for changing materials, SA-MP orignal have this:
Код:
 
SetObjectMaterial(...);
But streamer got this:
Код:
native SetDynamicObjectMaterial(STREAMER_TAG_OBJECT objectid, materialindex, modelid, const txdname[], const texturename[], materialcolor = 0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)