22.04.2017, 21:54
Se usa CreateDynamicObject tem que setar o SetDynamicObjectMaterial
Modo correto:
Modo correto:
PHP код:
public Ruaburacos1()
{
Ruadestruidas = CreateDynamicObject(4146, 1371.00000, -1582.34375, 12.45313, 0.00000, 0.00000, 0.00000);
SetDynamicObjectMaterial(Ruadestruidas, 0, 13871, "egg_texts", "easter_egg01", 0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas, 1, 13871, "egg_texts", "easter_egg01", 0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas, 2, 13871, "egg_texts", "easter_egg01", 0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas, 3, 13871, "egg_texts", "easter_egg01", 0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas, 4, 13871, "egg_texts", "easter_egg01", 0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas, 5, 13871, "egg_texts", "easter_egg01", 0xFFFFFFFF);
//SetDynamicObjectMaterial(Ruadestruidas[0], 3, 13871, "lahills_border1", "sw_rockgrassB2", 0);
//SetDynamicObjectMaterial(Ruadestruidas[0], 4, 13871, "lahills_border1", "sw_rockgrassB2", 0);
//SetDynamicObjectMaterial(Ruadestruidas[0], 5, 13871, "lahills_border1", "sw_rockgrassB2", 0);
Buracos[0] = CreateDynamicObject(3694, 1404.57166, -1591.94263, 12.74263, 0.00000, 0.00000, 0.00000);
Buracos[1] = CreateDynamicObject(3694, 1371.67346, -1584.85962, 12.75022, 0.00000, 0.00000, 0.00000);
Buracos[2] = CreateDynamicObject(3694, 1336.20691, -1575.23621, 12.72780, 0.00000, 0.00000, 0.00000);
}