18.07.2013, 14:01
Hi guys I'm currently using these objects
sfcenterzone[0] = CreateObject(11340, -2079.9531, 159.2031, 30.8672, 0.00, 0.00, 0.00, 400.0);
sfcenterzone[1] = CreateObject(10983, -2076.6484, 222.8516, 31.2188, 0.00, 0.00, 0.00, 400.0);
sfcenterzone[2] = CreateObject(11387, -2038.7500, 150.7109, 31.1953, 0.00, 0.00, 0.00, 400.0);
SetObjectMaterial(sfcenterzone[0], 0, 10972, "groundbit_sfse", "desgreengrass", 0);//grassdry_128HV
SetObjectMaterial(sfcenterzone[1], 1, 10972, "groundbit_sfse", "desgreengrass", 0);
SetObjectMaterial(sfcenterzone[2], 0, 3845, "boxhses_sfsx", "shingles1", 0);
SetObjectMaterial(sfcenterzone[2], 6, 11139, "firehouse_sfse", "ws_tunnelwall2", 0);
SetObjectMaterial(sfcenterzone[2], 11, 5848, "mainlcawn", "fakestone1_LA", 0);
SetObjectMaterial(sfcenterzone[2], 12, 3845, "boxhses_sfsx", "shingles1", 0);
Everything works okay in the server, then when I do "gmx" on console and I go back in game, those objects aren't there anymore, they just disappeared.
It only works again if I close the server and open it again. Anyone have any idea why this could be happening?
I'm also not using DestroyObject, also tried to do that but doesn't help with anything at all.
sfcenterzone[0] = CreateObject(11340, -2079.9531, 159.2031, 30.8672, 0.00, 0.00, 0.00, 400.0);
sfcenterzone[1] = CreateObject(10983, -2076.6484, 222.8516, 31.2188, 0.00, 0.00, 0.00, 400.0);
sfcenterzone[2] = CreateObject(11387, -2038.7500, 150.7109, 31.1953, 0.00, 0.00, 0.00, 400.0);
SetObjectMaterial(sfcenterzone[0], 0, 10972, "groundbit_sfse", "desgreengrass", 0);//grassdry_128HV
SetObjectMaterial(sfcenterzone[1], 1, 10972, "groundbit_sfse", "desgreengrass", 0);
SetObjectMaterial(sfcenterzone[2], 0, 3845, "boxhses_sfsx", "shingles1", 0);
SetObjectMaterial(sfcenterzone[2], 6, 11139, "firehouse_sfse", "ws_tunnelwall2", 0);
SetObjectMaterial(sfcenterzone[2], 11, 5848, "mainlcawn", "fakestone1_LA", 0);
SetObjectMaterial(sfcenterzone[2], 12, 3845, "boxhses_sfsx", "shingles1", 0);
Everything works okay in the server, then when I do "gmx" on console and I go back in game, those objects aren't there anymore, they just disappeared.
It only works again if I close the server and open it again. Anyone have any idea why this could be happening?
I'm also not using DestroyObject, also tried to do that but doesn't help with anything at all.