Quote:
Originally Posted by Lordzy
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)
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);
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.
|
that's just part of Incognito's invoke - plugin needs to get functions adresses.
Quote:
Probably you need to increase your Z position because SA-MP art is a very very big rectangle and if you use same position as your player it should be under the ground... try z + 50.0
|
the position of art is center of it - at least, half of the picture should be above ground
Quote:
Strange, it doesn't work. No errors in console, but no image either. My code:
|
have you loaded the plugin?
Quote:
" S-ART plugin was loaded
|