Help, i want to created a rp tutorial why textdraw's -
gtachile - 31.05.2010
Hi to everybody, i need your's help, i try to create a tutorial of RolePlay server why textdraw's.
The tutorial it's created why zamaroth text draw creator, bug i place my script, in the tutorial part, i reeplace the diferent's SendClientMensage, For my script of textdraw's..
But i have a problem i insert my script, i go to my server, and the text draw i'ts no appears, Plz help me.
Sorry from my bad english, i from venezuela.
Re: Help, i want to created a rp tutorial why textdraw's -
(.Aztec); - 31.05.2010
Did you use TextDrawShowForPlayer?
Re: Help, i want to created a rp tutorial why textdraw's -
gtachile - 31.05.2010
Sorry 4 my bad english, and sorry for no post my script, I forgot...
Script:
Код:
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);
No have a error's in the pawno, but the textdraw it's no appears..
Re: Help, i want to created a rp tutorial why textdraw's -
(.Aztec); - 31.05.2010
Put
pawn Код:
//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);
under OnGameModeInit, and where you have all that now, put this:
pawn Код:
TextDrawShowForPlayer(playerid, Text:TextDraw100);
TextDrawShowForPlayer(playerid, Text:TextDraw101);
TextDrawShowForPlayer(playerid, Text:TextDraw102);
TextDrawShowForPlayer(playerid, Text:TextDraw103);