Attaching Text To Buildings
#1

Hi guys, the other day when I was playing in a RP server, I noticed that they had attached text to buildings, with backgrounds and everything! I looked on ****** to try and find what they had done but..no dice. Can someone help me out here? I would really like to have this in my server.
Reply
#2

You mean Create3DTextLabel?
Reply
#3

Im looking for this:
Reply
#4

this is my prefecture of my GM:


I will pass the code to you:

pawn Код:
new letreiro = CreateObject(19353, 353.5620, 173.9646, 1011.6215, 0.0000, 0.0000, -1.1830);//Creating the invisible object,  ID number 19353
SetObjectMaterialText(letreiro, "Prefeitura de San Fierro", 0, 140, "Arial", 53, 1, -1, 0, 1);//Set the material text of object with the text.
the wiki link of the SetObjectMaterialText is https://sampwiki.blast.hk/wiki/SetObjectMaterialText
Reply
#5

Thanks man, but is the invisible object required?
Reply
#6

looked at the code in better depth and using SAMP wiki..Lock this.
Reply
#7

yes because otherwise the object would be visible and would get ugly.
Reply
#8

I kinda got it, the text came up sideways, can you tell me what numbers are what? Like which is size, rotation etc
Reply
#9

https://sampwiki.blast.hk/wiki/SetObjectMaterial
https://sampwiki.blast.hk/wiki/SetObjectMaterialText
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)