Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] Help - SetObjectMaterial with Custom Object (0.3.DL)?

 
  • 0 Vote(s) - 0 Average
Pawn Help - SetObjectMaterial with Custom Object (0.3.DL)?
Jurgen33
Offline

Burgershot Member
Posts: 1
Threads: 1
Joined: Aug 2021
Reputation: 0
#1
2021-08-01, 12:10 PM (This post was last modified: 2021-08-01, 12:12 PM by Jurgen33.)
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!
Telzin2k
Offline

Burgershot Member
Posts: 10
Threads: 3
Joined: Oct 2020
Reputation: 0
Location: Rio de Janeiro, Brazil
#2
2021-08-06, 01:08 AM
(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.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode