• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Help - SetObjectMaterial with Custom Object (0.3.DL)?
#2
(2021-08-01, 12:10 PM)Jurgen33 Wrote: Hello,



How can use SetObjectMaterial with Custom Object for SA-MP?0.3.DL Version.



Example:

SetDynamicObjectMaterial(tmpobjid,?0, -1001, "custom_object_txd_file_name",?"texture_name_in_txd_file",?0x00000000);



Please help. I couldn't find what to write instead of txd file name. That's why not work!





This does not work in version 0.3.DL with custom object texture. You will have to get the desired object and change its texture and put it in the server using the "AddSimpleModel" function.
  Reply


Messages In This Thread
RE: Help - SetObjectMaterial with Custom Object (0.3.DL)? - by Telzin2k - 2021-08-06, 01:08 AM

Forum Jump: