SA-MP Forums Archive
Textdraw's problem.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Textdraw's problem.. (/showthread.php?tid=151819)



Textdraw's problem.. - gtachile - 01.06.2010

Sorry, i think of my last posting have a deleted, Good...

Now, i have a problem why my textdraw's i have a textdraw's for tutorial of RP, (Started(RegisteR) In the game)

But i have a problem i add my textdraw's to replace SendClientMessage For CreateTextDraw's, and the pawno is no have a problem..

But, the error it's in the server, i entry to my server and the textdraw's it's no apeears, plz help mee..

I Need to finish mi textdraw Tutorial

My code:
Код:
TutTime[i] += 1;
        if(TutTime[i] == 3)
			  {
			    ClearChatbox(i, 10);
			    SendClientMessage(i, COLOR_WHITE, "ї Entonces usted es nuevo aqui? Le mostraremos algunos sitios y le daremos algunos consejos.");
			    SendClientMessage(i, COLOR_WHITE, "Si usted no sabe como a Rolear, entonces dirijase al foro WwW.Lr-Rp.Eshost.Com.ar");
			    SendClientMessage(i, COLOR_WHITE, " ");
			    SetPlayerCameraPos(i, 2247.0215,-1655.0173,17.2856);
					SetPlayerCameraLookAt(i, 2244.6536,-1663.9304,15.4766);
					SetPlayerInterior(i, 0);
					SetPlayerVirtualWorld(i, 99);
					SetPlayerPos(i, 2256.3555,-1646.6377,15.4959);
      //In OnGameModeInit or any other place, we procced to create our textdraw:
          Textdraw100 = TextDrawCreate(220.000000, 170.000000, "Bienvenido a RP LATINO.");
TextDrawBackgroundColor(Textdraw100, 255);
TextDrawFont(Textdraw100, 1);
TextDrawLetterSize(Textdraw100, 0.500000, 1.000000);
TextDrawColor(Textdraw100, 16711935);
TextDrawSetOutline(Textdraw100, 0);
TextDrawSetProportional(Textdraw100, 1);
TextDrawSetShadow(Textdraw100, 1);

Textdraw101 = TextDrawCreate(7.000000, 190.000000, "En este tutorial se te explicara lo basico y como jugar en un servidor de rol");
TextDrawBackgroundColor(Textdraw101, 255);
TextDrawFont(Textdraw101, 1);
TextDrawLetterSize(Textdraw101, 0.500000, 1.000000);
TextDrawColor(Textdraw101, 16711935);
TextDrawSetOutline(Textdraw101, 0);
TextDrawSetProportional(Textdraw101, 1);
TextDrawSetShadow(Textdraw101, 1);

Textdraw102 = TextDrawCreate(7.000000, 202.000000, "En un servidor de rol tienes que desempenar un realismo que usarias en la");
TextDrawBackgroundColor(Textdraw102, 255);
TextDrawFont(Textdraw102, 1);
TextDrawLetterSize(Textdraw102, 0.500000, 1.000000);
TextDrawColor(Textdraw102, 16711935);
TextDrawSetOutline(Textdraw102, 0);
TextDrawSetProportional(Textdraw102, 1);
TextDrawSetShadow(Textdraw102, 1);

Textdraw103 = TextDrawCreate(258.000000, 214.000000, "Vida real.");
TextDrawBackgroundColor(Textdraw103, 255);
TextDrawFont(Textdraw103, 1);
TextDrawLetterSize(Textdraw103, 0.500000, 1.000000);
TextDrawColor(Textdraw103, 16711935);
TextDrawSetOutline(Textdraw103, 0);
TextDrawSetProportional(Textdraw103, 1);
TextDrawSetShadow(Textdraw103, 1);

			  }
This it's the part of my script, i reppeat: The pawno it's no have a bug, the problem is in the server, the textdraw's it's no appears.

Greetings for everybody and thanks for read..


Sorry for my bad english, im from venezuela..


Re: Textdraw's problem.. - gtachile - 01.06.2010

Plz response



Re: Textdraw's problem.. - Badger(new) - 01.06.2010

At the start of your gamemode:
pawn Код:
public OnGameModeInit(){
    //In OnGameModeInit or any other place, we procced to create our textdraw:
    Textdraw100 = TextDrawCreate(220.000000, 170.000000, "Bienvenido a RP LATINO.");
    TextDrawBackgroundColor(Textdraw100, 255);
    TextDrawFont(Textdraw100, 1);
    TextDrawLetterSize(Textdraw100, 0.500000, 1.000000);
    TextDrawColor(Textdraw100, 16711935);
    TextDrawSetOutline(Textdraw100, 0);
    TextDrawSetProportional(Textdraw100, 1);
    TextDrawSetShadow(Textdraw100, 1);

    Textdraw101 = TextDrawCreate(7.000000, 190.000000, "En este tutorial se te explicara lo basico y como jugar en un servidor de rol");
    TextDrawBackgroundColor(Textdraw101, 255);
    TextDrawFont(Textdraw101, 1);
    TextDrawLetterSize(Textdraw101, 0.500000, 1.000000);
    TextDrawColor(Textdraw101, 16711935);
    TextDrawSetOutline(Textdraw101, 0);
    TextDrawSetProportional(Textdraw101, 1);
    TextDrawSetShadow(Textdraw101, 1);

    Textdraw102 = TextDrawCreate(7.000000, 202.000000, "En un servidor de rol tienes que desempenar un realismo que usarias en la");
    TextDrawBackgroundColor(Textdraw102, 255);
    TextDrawFont(Textdraw102, 1);
    TextDrawLetterSize(Textdraw102, 0.500000, 1.000000);
    TextDrawColor(Textdraw102, 16711935);
    TextDrawSetOutline(Textdraw102, 0);
    TextDrawSetProportional(Textdraw102, 1);
    TextDrawSetShadow(Textdraw102, 1);

    Textdraw103 = TextDrawCreate(258.000000, 214.000000, "Vida real.");
    TextDrawBackgroundColor(Textdraw103, 255);
    TextDrawFont(Textdraw103, 1);
    TextDrawLetterSize(Textdraw103, 0.500000, 1.000000);
    TextDrawColor(Textdraw103, 16711935);
    TextDrawSetOutline(Textdraw103, 0);
    TextDrawSetProportional(Textdraw103, 1);
    TextDrawSetShadow(Textdraw103, 1);
pawn Код:
TutTime[i] += 1;
if(TutTime[i] == 3)
{
    ClearChatbox(i, 10);
    SendClientMessage(i, COLOR_WHITE, "ї Entonces usted es nuevo aqui? Le mostraremos algunos sitios y le daremos algunos consejos.");
    SendClientMessage(i, COLOR_WHITE, "Si usted no sabe como a Rolear, entonces dirijase al foro http://WwW.Lr-Rp.Eshost.Com.ar[url=http://]");
    SendClientMessage(i, COLOR_WHITE, " ");
    SetPlayerCameraPos(i, 2247.0215,-1655.0173,17.2856);
    SetPlayerCameraLookAt(i, 2244.6536,-1663.9304,15.4766);
    SetPlayerInterior(i, 0);
    SetPlayerVirtualWorld(i, 99);
    SetPlayerPos(i, 2256.3555,-1646.6377,15.4959);
    TextDrawShowForPlayer(playerid,Textdraw100);
    TextDrawShowForPlayer(playerid,Textdraw101);
    TextDrawShowForPlayer(playerid,Textdraw102);
    TextDrawShowForPlayer(playerid,Textdraw103);
}
You use TextDrawShowForPlayer to show a text draw silly....

To hide it, use
pawn Код:
TextDrawHideForPlayer(playerid,Textdraw100);
TextDrawHideForPlayer(playerid,Textdraw101);
TextDrawHideForPlayer(playerid,Textdraw102);
TextDrawHideForPlayer(playerid,Textdraw103);



Re: Textdraw's problem.. - gtachile - 01.06.2010

Ok thanks you men, i agregated a forward's to hire the textdraws bug in my case If Tut Time = 3 їWhat's it's the really time?


I Hope you understandme sorry for my bad english


Re: Textdraw's problem.. - gtachile - 01.06.2010

Plz help..


Re: Textdraw's problem.. - MadeMan - 01.06.2010

Please try not to use ****** Translate


Re: Textdraw's problem.. - gtachile - 02.06.2010

Ok, My IF TUTO TIME IT'S = 3 In timer's why it's the truth time (Miniseconds)


Re: Textdraw's problem.. - gtachile - 02.06.2010

Sorry for the doble post, plz help T.T