Dynamic SetObjectMaterialText - 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: Dynamic SetObjectMaterialText (
/showthread.php?tid=444407)
Dynamic SetObjectMaterialText -
Akira297 - 16.06.2013
-
Whenever I have tried to do such my pawn compiler either ends up crashing and or it simply doesn't work. Anyone got any ideas of fixing such? I would make a scripting request but I seem it's more suitable to mapping.
Re: Dynamic SetObjectMaterialText -
Akira297 - 17.06.2013
- Does anyone know why this would be logically happening?
Re: Dynamic SetObjectMaterialText -
MP2 - 17.06.2013
Various things can cause this. Try undoing what you changed recently. If that fails, the only thing I can think of to suggest is commenting out blocks of code at a time until it works, telling you that the last commented-out block was the problem. This can be caused in array declaration etc. also i've found most commonly that was the problem.
Re: Dynamic SetObjectMaterialText -
Akira297 - 17.06.2013
Quote:
Originally Posted by MP2
Various things can cause this. Try undoing what you changed recently. If that fails, the only thing I can think of to suggest is commenting out blocks of code at a time until it works, telling you that the last commented-out block was the problem. This can be caused in array declaration etc. also i've found most commonly that was the problem.
|
It was the Dynamic SetObjectMaterialText.