Textdraws
#1

Hello,
I am new to scripting and i want to know if there is some tutorial how to change textdraws (remove old ones put new ones,textdrawshowforplayer etc..?)
Thanks
Reply
#2

You can replace Textdraw "Text" only. The letters/text written in the textdraw. You can do this via

pawn Код:
TextDrawSetString(tdid, text);
Reply
#3

Its not hard to search for Tutorials for textdraws. Come on, do it your self.
Reply
#4

Quote:
Originally Posted by GTLS
Посмотреть сообщение
Its not hard to search for Tutorials for textdraws. Come on, do it your self.
I searched on this forum but i could not find any.
Please link one if u have
Reply
#5

Quote:
Originally Posted by Tene
Посмотреть сообщение
I searched on this forum but i could not find any.
Please link one if u have
Use the function TextDrawSetString();
The parameters are:
1. The name of the textdraw's variable
2. The new text that you want to change
Reply
#6

https://sampwiki.blast.hk/wiki/Textdraw
Reply
#7

Here is a tutorial:
-Removing the old ones by this code:

TextDrawDestroy(Put your TextDraw name here);



- Adding a new one:


CreatePlayerTextDraw(playerid,Float, Float:y, text[]);

Here is an example of adding a new textdraw:

TextDrawCreate(320.000000, 180.000000, "Welcome");
Reply
#8

Quote:
Originally Posted by Kraeror
Посмотреть сообщение
Use the function TextDrawSetString();
The parameters are:
1. The name of the textdraw's variable
2. The new text that you want to change
I dont want to change only text i want to change whole textdraw
Reply
#9

Quote:
Originally Posted by Tene
Посмотреть сообщение
I dont want to change only text i want to change whole textdraw
Try what I have told you to do, it will work.
Reply
#10

Quote:
Originally Posted by Tene
Посмотреть сообщение
I searched on this forum but i could not find any.
Please link one if u have
Stop lazing around. Search, "SAMP TextDraw Tutorials" on your preferred search engine. I just did it and found many tutorials.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)