19.01.2017, 19:39
Quote:
In short: You should be using 0x0, not 0xFFFFFFFF
![]() If you do not wish to re-colour the object (only set a material), use 0x0 as the colour parameter. This will set the material only.. For some objects, if you set any colour (0xFFFFFFFF is techinically) on material index 0, the vertex lighting will be removed which is why some objects become darker. Ref:https://sampwiki.blast.hk/wiki/SetObjectMaterial |
They all lose vertex lighting but some of them are dark(as they should be) and some of them are brighter.