0.3E New Custom Sign Texture Help
#9

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)
Reply


Messages In This Thread
0.3E New Custom Sign Texture Help - by Slaykler - 13.09.2012, 03:32
Re: 0.3E New Custom Sign Texture Help - by Deal-or-die - 13.09.2012, 04:03
Re: 0.3E New Custom Sign Texture Help - by Slaykler - 13.09.2012, 04:05
Re: 0.3E New Custom Sign Texture Help - by Slaykler - 13.09.2012, 04:19
Re: 0.3E New Custom Sign Texture Help - by Deal-or-die - 13.09.2012, 04:29
Re: 0.3E New Custom Sign Texture Help - by Slaykler - 13.09.2012, 04:37
Re: 0.3E New Custom Sign Texture Help - by Slaykler - 13.09.2012, 04:51
Re: 0.3E New Custom Sign Texture Help - by [HK]Ryder[AN] - 13.09.2012, 04:59
Re: 0.3E New Custom Sign Texture Help - by Deal-or-die - 13.09.2012, 05:05
Re: 0.3E New Custom Sign Texture Help - by Slaykler - 13.09.2012, 05:13

Forum Jump:


Users browsing this thread: 1 Guest(s)