21.10.2013, 10:22
Alright I spotted this on some server andI was wondering how can be this done ? Putting some sign on the buildings ... I mean how ?
|
new myobject = CreateObject(19447, 2362.87476, 246.29884, 31.40303, 0.00000, 0.00000, 0.00000); //create the object SetObjectMaterialText(myobject, "Sheriff Department", 0, OBJECT_MATERIAL_SIZE_256x128,\ "Times New Roman", 25, 1, 0xFFB0B0DD, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); |
COMMAND:textfd(playerid, params[])
{
new myobject = CreateObject(19447, 2362.87476, 246.29884, 31.40303, 0.00000, 0.00000, 0.00000); //create the object
SetObjectMaterialText(myobject, "Sheriff Department", 0, OBJECT_MATERIAL_SIZE_256x128,\
"Times New Roman", 25, 1, 0xFFB0B0DD, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
return 1;
}
|
Код:
COMMAND:textfd(playerid, params[])
{
new myobject = CreateObject(19447, 2362.87476, 246.29884, 31.40303, 0.00000, 0.00000, 0.00000);
SetObjectMaterialText(myobject, "Sheriff Department", 0, OBJECT_MATERIAL_SIZE_256x128,\
"Times New Roman", 25, 1, 0xFFB0B0DD, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
return 1;
}
|