13.09.2012, 05:05
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.
or just place this in 'OnGameModeInit'
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)
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;
}
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);
(Sorry for not testing myself, I am unable to join and server that I host locally as my game freezes on connect)