SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 21/12/2018, 12:23 AM   #1
SapMan
Banned
 
Join Date: Jul 2017
Posts: 140
Reputation: 12
Default PlayerTextdraws or Textdraws

I made a mini-map of the entire city of San Andreas thanks to the custom models and that minimap I divided it into 4 parts so that the textdraw was not so big, so my question is: Do you have to be "TextDraws" or "PlayerTextDraws"?

Note: the text drawings will change depending on the location of the player (if a player is in "Los Santos", it will show the text of "Los Santos", with the identification of the player in the text drawing). As if it were an original map.

Do they have to be player Textdraws or global textdraws?
SapMan is offline   Reply With Quote
Old 21/12/2018, 12:29 AM   #2
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,885
Reputation: 1337
Default Re: PlayerTextdraws or Textdraws

You use global textdraws for all textdraws that never change or change for all players and player textdraws for textdraws that display information that is different for every player. So the answer to your question is both depending on what you need to do.
Pottus is offline   Reply With Quote
Old 21/12/2018, 12:34 AM   #3
SapMan
Banned
 
Join Date: Jul 2017
Posts: 140
Reputation: 12
Default Re: PlayerTextdraws or Textdraws

That is, the textdraws with the images of "Los Santos, Las Venturas and San Fierro" are shown to the player depending on where they are, and the player's icon indicates where the player is exactly located.

It is something like the one that made "Adri1" with the map of "Vice City" but mine is about the map of San Andres divided into 4 parts.

By the way there is also a textdraw that says where you are, example: Place: Los Santos
SapMan is offline   Reply With Quote
Old 21/12/2018, 12:42 AM   #4
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,885
Reputation: 1337
Default Re: PlayerTextdraws or Textdraws

so you have 1 player td and the rest global simple.
Pottus is offline   Reply With Quote
Old 21/12/2018, 12:45 AM   #5
SapMan
Banned
 
Join Date: Jul 2017
Posts: 140
Reputation: 12
Default Re: PlayerTextdraws or Textdraws

The player td would be the player's marker on the map, right? And the one that indicates the place (Place: Los Santos) do not have to be also player td?
SapMan is offline   Reply With Quote
Old 21/12/2018, 01:06 AM   #6
SapMan
Banned
 
Join Date: Jul 2017
Posts: 140
Reputation: 12
Default Re: PlayerTextdraws or Textdraws

And also the textdraws with the images of each city do not have to be player td too? Please, I need clear doubts about this.
SapMan is offline   Reply With Quote
Old 21/12/2018, 01:17 AM   #7
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,885
Reputation: 1337
Default Re: PlayerTextdraws or Textdraws

Quote:
Originally Posted by SapMan View Post
The player td would be the player's marker on the map, right? And the one that indicates the place (Place: Los Santos) do not have to be also player td?
yes it does
Pottus 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
PlayerTextdraws(with max_players) BalkanEliteRP Scripting Help 2 12/02/2018 07:49 PM
Textdraws & PlayerTextdraws JaKe Elite Scripting Help 11 20/01/2016 05:46 PM
Playertextdraws overlapping textdraws Zeuto Scripting Help 3 14/08/2015 12:15 PM
Difference between PlayerTextDraws and simple TextDraws kamiliuxliuxliux Scripting Help 1 19/06/2014 08:16 PM
PlayerTextDraws Roko_foko Scripting Help 7 27/06/2012 10:16 PM


All times are GMT. The time now is 08:01 PM.


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