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(objectidmaterialindex, const text[], materialsize OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial"fontsize 24bold 1fontcolor 0xFFFFFFFFbackcolor 0textalignment 0); 
Reply
#3

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


Forum Jump:


Users browsing this thread: 2 Guest(s)