Textdraw's problem..
#3

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);
Reply


Messages In This Thread
Textdraw's problem.. - by gtachile - 01.06.2010, 00:54
Re: Textdraw's problem.. - by gtachile - 01.06.2010, 01:48
Re: Textdraw's problem.. - by Badger(new) - 01.06.2010, 02:46
Re: Textdraw's problem.. - by gtachile - 01.06.2010, 04:18
Re: Textdraw's problem.. - by gtachile - 01.06.2010, 16:17
Re: Textdraw's problem.. - by MadeMan - 01.06.2010, 16:39
Re: Textdraw's problem.. - by gtachile - 02.06.2010, 01:00
Re: Textdraw's problem.. - by gtachile - 02.06.2010, 03:24

Forum Jump:


Users browsing this thread: 3 Guest(s)