Hello again. I've created converter to convert my mapping from pawno streamer syntax (I'm using texture studio to create and export mapping) to sampsharp streamer, and got some kind of bug: colors here (at sampsharp server with converted mapping) somehow looks differently or disappear Oo. Am I doing something wrong again?
Example:
input:
Код:
tmpobjid = CreateDynamicObject(19475,1705.361,-682.467,1008.911,0.000,0.000,0.000,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterialText(tmpobjid, 0, "WC", 140, "Ariel", 200, 1, 0xFFFFFFFF, 0xFF000000, 1);
output:
Код:
tmpobjid = new DynamicObject(19475, new Vector3(1705.361f, -682.467f, 1008.911f), new Vector3(0.000f, 0.000f, 0.000f), -1, -1, null, 300.000f, 300.000f);
tmpobjid.SetMaterialText(0, "WC", ObjectMaterialSize.X512X512, "Ariel", 200, true, Color.FromString("0xFFFFFFFF", ColorFormat.ARGB), Color.FromString("0xFF000000", ColorFormat.ARGB), ObjectMaterialTextAlign.Center);
examples:
1st and 3rd screens - how it should be, 2nd and 4th - how it looks like @ sampsharp server