SetDynamicObjectMaterialText - error 035: argument type mismatch (argument 3)
#1

Hey, i have downloaded a map from internet, and it wont work, i have tried to fix this line , but i don't really understand the parameters, can you guys help me work this out? thanks a lot!

error 035: argument type mismatch (argument 3)

Quote:

SetDynamicObjectMaterialText(objectfurnitureshop, 0, 5708, "hospital_lawn", "hosp03b_law", -1);

Reply
#2

PHP код:
SetDynamicObjectMaterialText(objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0); 
Reply
#3

Are you sure that you want to use SetDynamicObjectMaterialText instead of SetDynamicObjectMaterial?
PHP код:
SetDynamicObjectMaterial(objectid, materialindex, modelid, const txdname[], const texturename[], materialcolor = 0) 
PHP код:
SetDynamicObjectMaterialText(objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0) 
Edit:I'm so late,on my phone right now,sorry.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)