SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 23/05/2018, 01:36 PM   #1
Mister0
Huge Clucker
 
Mister0's Avatar
 
Join Date: Aug 2015
Posts: 220
Reputation: 19
Default Objects sprites

Hi, I use a long time ago setobjectmaterial text for object to draw san andreas sprites or weapons but i really don t remind how was the function exactly so can someone show me a model of how it should be?
If you don t know what I am talking about is this
https://www.sa-mp.ro/applications/co...f7d784c12dc8c1

Mister0 is offline   Reply With Quote
Old 23/05/2018, 01:40 PM   #2
StrikerZ
High-roller
 
StrikerZ's Avatar
 
Join Date: Mar 2016
Location: Asgard
Posts: 1,050
Reputation: 154
Default Re: Objects sprites

Use a textdraw editor and make preview model using that
__________________
StrikerZ is offline   Reply With Quote
Old 23/05/2018, 01:42 PM   #3
Mister0
Huge Clucker
 
Mister0's Avatar
 
Join Date: Aug 2015
Posts: 220
Reputation: 19
Thumbs up Re: Objects sprites

Quote:
Originally Posted by StrikerZ View Post
Use a textdraw editor and make preview model using that
Is not for textdraw I said for object in the image thats are objects not textdraws and has been created with setobjectmaterialtext but I don t know the parameters to display what I need

EDIT I am talking about webdings

Last edited by Mister0; 23/05/2018 at 02:36 PM.
Mister0 is offline   Reply With Quote
Old 23/05/2018, 01:51 PM   #4
StrikerZ
High-roller
 
StrikerZ's Avatar
 
Join Date: Mar 2016
Location: Asgard
Posts: 1,050
Reputation: 154
Default Re: Objects sprites

Quote:
Originally Posted by Mister0 View Post
Is not for textdraw I said for object in the image thats are objects not textdraws and has been created with setobjectmaterialtext but I don t know the parameters to display what I need
As far as I can see in the image you gave, there are textdraws which use TextDrawPreviewModel with weapon model id as parameter.

But I think you need them as object, for object you can use a map editor and spawn an object with the weapon's model id. You can use Texture Studio, it's easy to use and and you can search the model id in there with its /osearch command and then place the objects where you need, it will generate the code for you automatically when you export.
__________________
StrikerZ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sprites Lajko1 Scripting Help 4 02/07/2015 11:27 AM
sprites beckzy Scripting Help 5 04/03/2015 10:07 PM
Sprites Steel_ Scripting Help 0 30/07/2014 06:31 PM
Sprites thefatshizms Client Support 5 10/05/2013 08:34 PM
Need help with sprites Makaveli93 Scripting Help 0 09/07/2012 06:20 PM


All times are GMT. The time now is 03:41 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.