SA-MP Forums Archive
It won't work > 3DText & Object - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: It won't work > 3DText & Object (/showthread.php?tid=661175)



It won't work > 3DText & Object - playstores - 25.11.2018

Quote:

new BannerE = CreateObject(19353, Club[id][BannerX], Club[id][BannerY], Club[id][BannerZ], 0.0000, 0.0000, 88.9661);
SetObjectMaterialText(BannerE, Club[id][clubname], 0, 100, "Arial", 50, 0, -16776961, 0, 1);


I also tried it with GetPlayerPos but it just happens nothing,

there is no 3dtext and no object...


Re: It won't work > 3DText & Object - NaS - 25.11.2018

Why exactly did you set material_size to 100?

It should be one of these (most of the time leaving it default is sufficient):

https://sampwiki.blast.hk/wiki/Material_Size

Other than that, make sure the material index you try to set is valid for that object.