SA-MP Forums Archive
SetObjectMaterial - Random Crashes - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetObjectMaterial - Random Crashes (/showthread.php?tid=374307)



SetObjectMaterial - Random Crashes - Karkand - 02.09.2012

Nothing really much to say as this is a simple issue, but when using SetObjectMaterial, users and their clients will randomly crash. It does work as it's supposed to, but this random crashing clearly isn't supposed to be happening. Any ideas? I thought the issue might the function, so I instead of using SetDynamicObjectMaterial, I converted the objects to standard form (CreateObject, not CreateDynamicObject) and it still occurs. Assistance is much appreciated.