How can I insert a Text draw here?
#1

Hey guys, im working on a script and just wondering if its possible to insert a text draw into a slide of my tutorial.


Код:
public TutorialLoop()
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    {
		    if(TutStep[i] >= 1)
			{
			    if(TutStep[i] == 5)
			    {
			        ClearChatbox(i);
		          	SendClientMessage(i,0xFFFFFFFF,"====================================================================================================");
			        SendClientMessage(i, COLOR_YELLOW, "Welcome to the Industrial County RP Tutorial: ");
			        SendClientMessage(i, COLOR_WHITE, "This server is based in Red County, Bone County and Flint County.");
			        SendClientMessage(i, COLOR_WHITE, "Its set in the Current year: 2014.");
			        SendClientMessage(i, COLOR_ORANGE, "Pay attention to the tutorial to avoid (/report)ing for things you should know in the tutorial");
			        SendClientMessage(i, COLOR_YELLOW, "Please wait as the next slide Loads...");
		          	SendClientMessage(i,0xFFFFFFFF,"====================================================================================================");

					// Sherman Dam (Camera)
					SetPlayerVirtualWorld(i, 0);
					SetPlayerInterior(i, 0);
					Streamer_UpdateEx(playerid,-1118.475830, 2201.542968, 56.473358);
					SetPlayerPos(playerid,-1118.475830, 2201.542968, 56.473358);
					SetPlayerCameraPos(playerid,-1028.792968, 2191.498779, 56.473358);
					SetPlayerCameraLookAt(playerid,-947.696228, 2165.055175, 56.473358);
Anyone know how to insert a Textdraw instead of having the SendCilentmessage?

cheers, +rep whoever can help me
Reply
#2

it is.
But you have to create the textdraw first.

i'd recommend this textdraw editor: https://sampforum.blast.hk/showthread.php?tid=117851
Reply
#3

Ofc use this function https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
Reply
#4

Oh yea thanks guys, I know all of that, But I just thought it would be more complicated lol. Cheers
Reply
#5

Quote:
Originally Posted by CutX
Посмотреть сообщение
it is.
But you have to create the textdraw first.

i'd recommend this textdraw editor: https://sampforum.blast.hk/showthread.php?tid=117851
I use the same one, i recommend it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)