SetObjectMaterial after GMX on console
#1

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


Messages In This Thread
SetObjectMaterial after GMX on console - by Mishima - 18.07.2013, 14:01
Re: SetObjectMaterial after GMX on console - by Libra_PL - 19.07.2013, 07:52
Re: SetObjectMaterial after GMX on console - by RajatPawar - 19.07.2013, 07:53
Re: SetObjectMaterial after GMX on console - by Mishima - 19.07.2013, 14:17
Re: SetObjectMaterial after GMX on console - by Mishima - 20.07.2013, 13:27
Re: SetObjectMaterial after GMX on console - by Mishima - 22.07.2013, 00:40
Re: SetObjectMaterial after GMX on console - by Pottus - 22.07.2013, 00:45
Re: SetObjectMaterial after GMX on console - by cyber_punk - 22.07.2013, 05:06
Re: SetObjectMaterial after GMX on console - by Pottus - 22.07.2013, 12:31
Re: SetObjectMaterial after GMX on console - by Mishima - 22.07.2013, 12:36

Forum Jump:


Users browsing this thread: 1 Guest(s)