02.01.2015, 09:52
I haven't checked the plugin source but from what I've seen on the include, the invoke function could work wrongly in some cases (where the object created under invoke might not be the 1st server created object)
You've declared a variable named "Var" but never used it, I suppose it was meant to save object IDs. The above code simply sets material text and textures object ID of 0 value, which may not be the object ID which was created under invoke function.
pawn Код:
CreateObject(0,0.0,0.0,0.0,0.0,0.0,0.0);
SetObjectMaterialText(0, Var, 0, OBJECT_MATERIAL_SIZE_512x512, "Webdings", 35, 0, 0, 0, 0);
SetObjectMaterial(0, 1, -1, "none", "none", 0);
DestroyObject(0);