Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] TXD File

 
  • 0 Vote(s) - 0 Average
Pawn TXD File
GeorgeXCarl
Offline

Burgershot Member
Posts: 11
Threads: 6
Joined: Sep 2020
Reputation: 0
Location: Mars
#1
2020-10-01, 02:00 AM
Please help how can you can put the txd file in your server and can you give me the script how do i write it on my gamemode ? thanks... i'll rep+ you if helped
XoMoX
Offline

Burgershot Member
Posts: 26
Threads: 4
Joined: May 2020
Reputation: 1
Location: Philippines
#2
2020-10-01, 02:23 AM
Actually you can. Download icons(pics) you think are compatible for SAMP from the internet, create a new .txd file by using TXDWorkshop, import the downloaded images to the new txd file by using TXDWorkshop, set the desired name for said icon, then save txd in //SA Folder//models//txd

For example purposes, let's say the txd file was named LD_CUSTOM, and the downloaded icon was named customsprite.

In the code, you'll write LD_CUSTOM:customsprite
https://www.open.mp/docs/scripting/resources/textdrawsprites

PS: That's what I did, haven't tested it out yet, but if I did anything wrong the other helpers will help you out.
GeorgeXCarl
Offline

Burgershot Member
Posts: 11
Threads: 6
Joined: Sep 2020
Reputation: 0
Location: Mars
#3
2020-10-01, 02:56 AM
no... all i need is for changing building texture not for textdraw is that possible ?
XoMoX
Offline

Burgershot Member
Posts: 26
Threads: 4
Joined: May 2020
Reputation: 1
Location: Philippines
#4
2020-10-01, 03:57 AM
https://www.open.mp/docs/scripting/functions/SetObjectMaterial For material
https://www.open.mp/docs/scripting/functions/SetObjectMaterialText

Or use Texture studio
GeorgeXCarl
Offline

Burgershot Member
Posts: 11
Threads: 6
Joined: Sep 2020
Reputation: 0
Location: Mars
#5
2020-10-01, 04:27 AM
thanks rep+ for you
« 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