SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 02/02/2016, 04:10 PM   #1
SetPlayerNameTag
Big Clucker
 
SetPlayerNameTag's Avatar
 
Join Date: Jan 2015
Location: Killerchina
Posts: 169
Reputation: 3
Default How to show a object on the screen?



Is it a object or texture? and how can i create a textdraw with texture from samp.img.
SetPlayerNameTag is offline   Reply With Quote
Old 02/02/2016, 04:52 PM   #2
Mencent
High-roller
 
Mencent's Avatar
 
Join Date: Mar 2015
Location: Lower Saxony (Niedersachsen)
Posts: 1,320
Reputation: 92
Default Re: How to show a object on the screen?

It is an object. You must create this as a textdraw. For this you can use this function(s):
http://wiki.sa-mp.com/wiki/TextDrawSetPreviewModel

If you want to create pictures of your models file:
https://wiki.sa-mp.com/wiki/TextDraw_Sprites
http://forum.sa-mp.com/showthread.php?t=291722
__________________
Best wishes,
Mencent

(Sorry for my bad english, I hope you can understand this!)
Mencent is offline   Reply With Quote
Old 02/02/2016, 04:55 PM   #3
Amunra
Gangsta
 
Amunra's Avatar
 
Join Date: Nov 2015
Location: Indonesian
Posts: 505
Reputation: 12
Default Re: How to show a object on the screen?

Quote:
Originally Posted by Mencent View Post
It is an object. You must create this as a textdraw. For this you can use this function(s):
http://wiki.sa-mp.com/wiki/TextDrawSetPreviewModel

If you want to create pictures of your models file:
https://wiki.sa-mp.com/wiki/TextDraw_Sprites
http://forum.sa-mp.com/showthread.php?t=291722
The Image can Edited self using Sprites ?
__________________
Legendary Criminals


Amunra is offline   Reply With Quote
Old 02/02/2016, 04:57 PM   #4
Mencent
High-roller
 
Mencent's Avatar
 
Join Date: Mar 2015
Location: Lower Saxony (Niedersachsen)
Posts: 1,320
Reputation: 92
Default Re: How to show a object on the screen?

With the sprite browser you can show the sprites at the models file in your rockstar games file.
I don't know wheather you can edit the pictures (sprites). ^^
__________________
Best wishes,
Mencent

(Sorry for my bad english, I hope you can understand this!)
Mencent 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
Show object on player screen Banditukas Scripting Help 2 25/04/2015 12:13 PM
how to textdraw or whatever to show an object's picture on screen Chrisli520 Scripting Help 1 16/10/2013 12:13 AM
level show in the screen marik1322 Scripting Help 10 16/10/2011 09:24 PM
How do I show a text in the middle of the screen? dahley5 Help Archive 13 11/03/2011 01:06 PM
SA-MP 0.2x wont show the beginning screen dallaspowers Client Support 4 15/10/2009 04:21 PM


All times are GMT. The time now is 03:50 PM.


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