SA-MP Forums Archive
0.3E New Custom Sign Texture Help - 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: 0.3E New Custom Sign Texture Help (/showthread.php?tid=377157)



0.3E New Custom Sign Texture Help - Slaykler - 13.09.2012

Okay guys, As you can see i am coding my own server below in the image. I am currently coding my Police Faction, Because i dont want to move one to anything else until i get something else finished. So heres my question. I have tried and tried to get this down to detail, i have done removebuildingforplayer and createobject and setmaterialtext (Cant be bothered spelling it right) And for some reason, no of them worked. So im here to ask everyone if they could help me out. would be much appreciated.

I want "Los Santos Police Department" Above the door in the grey space



Re: 0.3E New Custom Sign Texture Help - Deal-or-die - 13.09.2012

Just to confirm the location you wanted the text. Please pick the colour that is in the right location.

Los Santos Police Department - [www.vs-rp.com/samp043cs.png]


RED
GREEN
YELLOW
ORANGE
BLUE/PURPLE


Re: 0.3E New Custom Sign Texture Help - Slaykler - 13.09.2012

RED and Yes thats what i want, but a grey color sort of OMG <3


Re: 0.3E New Custom Sign Texture Help - Slaykler - 13.09.2012

Either one, Yellow or Red, But i like red better for the location


Re: 0.3E New Custom Sign Texture Help - Deal-or-die - 13.09.2012

Where abouts is that building? or is it custom mapped?


Re: 0.3E New Custom Sign Texture Help - Slaykler - 13.09.2012

The building Is North or Ammunation on the first island. Yo uknow that little hill just after on the road near ammunation, its right at that intersection to your right


Re: 0.3E New Custom Sign Texture Help - Slaykler - 13.09.2012

No rush


Re: 0.3E New Custom Sign Texture Help - [HK]Ryder[AN] - 13.09.2012

Could you just give the coordinates?it would be better


Re: 0.3E New Custom Sign Texture Help - Deal-or-die - 13.09.2012

Okay found it.

Try this not sure how sensitive the text sizes and all of that are but might have to fiddle around with it.

pawn Код:
if (strcmp("/text", cmdtext, true) == 0)
{
    new text = CreateDynamicObject(9339,1422.09997559,-1178.09997559,31.00000000,0.00000000,358.25000000,90.00000000);
    SetObjectMaterialText(text, "Los Santos Police Department", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 25, 1, 0xFF919191, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    return 1;
}
or just place this in 'OnGameModeInit'
pawn Код:
public OnGameModeInit()
{
    new text = CreateDynamicObject(9339,1422.09997559,-1178.09997559,31.00000000,0.00000000,358.25000000,90.00000000);
    SetObjectMaterialText(text, "Los Santos Police Department", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 25, 1, 0xFF919191, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
Also if it's not what you want, mind taking a screenshot so I can see what I am dealing with.
(Sorry for not testing myself, I am unable to join and server that I host locally as my game freezes on connect)


Re: 0.3E New Custom Sign Texture Help - Slaykler - 13.09.2012

Ill text it now