[Ajuda] TextDraw - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] TextDraw (
/showthread.php?tid=468664)
TextDraw -
Alisson Silva Alves - 09.10.2013
pawn Код:
forum[i] = TextDrawCreate(1.000000,437.000000,"~r~[bkg]~b~|~p~|~g~||~y~| ~p~www~r~.~g~brasilknightgames~r~.~y~com~r~.~p~br ~b~|~p~|~g~||~y~|~r~ [RPG v1.0]");
TextDrawUseBox(forum[i],1);
TextDrawBoxColor(forum[i],0x00000066);
TextDrawTextSize(forum[i],641.000000,0.000000);
TextDrawAlignment(forum[i],0);
TextDrawBackgroundColor(forum[i],0x000000ff);
TextDrawFont(forum[i],3);
TextDrawLetterSize(forum[i], 0.600000, 1.000000);
TextDrawColor(forum[i],0xffffffff);
TextDrawSetOutline(forum[i],1);
TextDrawSetProportional(forum[i],1);
TextDrawSetShadow(forum[i],1);
Alguem Pode Me Dizer Se Esta Certo, e Onde Devo Colocar Isso ?
Re: TextDraw -
N3XTMapper - 09.10.2013
Coloque isso na public
Re: TextDraw -
Petrick™ - 09.10.2013
Quote:
Originally Posted by Alisson Silva Alves
pawn Код:
forum[i] = TextDrawCreate(1.000000,437.000000,"~r~[bkg]~b~|~p~|~g~||~y~| ~p~www~r~.~g~brasilknightgames~r~.~y~com~r~.~p~br ~b~|~p~|~g~||~y~|~r~ [RPG v1.0]"); TextDrawUseBox(forum[i],1); TextDrawBoxColor(forum[i],0x00000066); TextDrawTextSize(forum[i],641.000000,0.000000); TextDrawAlignment(forum[i],0); TextDrawBackgroundColor(forum[i],0x000000ff); TextDrawFont(forum[i],3); TextDrawLetterSize(forum[i], 0.600000, 1.000000); TextDrawColor(forum[i],0xffffffff); TextDrawSetOutline(forum[i],1); TextDrawSetProportional(forum[i],1); TextDrawSetShadow(forum[i],1);
Alguem Pode Me Dizer Se Esta Certo, e Onde Devo Colocar Isso ?
|
Coloca abaixo dos veнculo do seu servidor
Re: TextDraw -
Juniiro3 - 09.10.2013
Aparentemente estб correto.
Toda Textdraw apуs ser criada e formatada na OnGameModeInit deve ser mostrada ao jogador usando
TextDrawShowForPlayer na OnPlayerConnect
Re: TextDraw -
Schocc - 09.10.2013
Quote:
Originally Posted by Juniiro3
Aparentemente estб correto.
Toda Textdraw apуs ser criada e formatada na OnGameModeInit deve ser mostrada ao jogador usando TextDrawShowForPlayer na OnPlayerConnect
|
Nгo somente em OPC, mas sim no momento em que o programador\scripter desejar.
This forum requires that you wait 120 seconds between posts. Please try again in 27 seconds.
aff
Re: TextDraw -
Alisson Silva Alves - 09.10.2013
pawn Код:
C:\Users\Acer\Downloads\[GM] Brasil Knight Games\gamemodes\BKG.pwn(8) : error 017: undefined symbol "forum"
C:\Users\Acer\Downloads\[GM] Brasil Knight Games\gamemodes\BKG.pwn(8) : error 017: undefined symbol "i"
C:\Users\Acer\Downloads\[GM] Brasil Knight Games\gamemodes\BKG.pwn(8) : error 029: invalid expression, assumed zero
C:\Users\Acer\Downloads\[GM] Brasil Knight Games\gamemodes\BKG.pwn(8) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
forum[i] = TextDrawCreate(1.000000,437.000000,"~r~[bkg]~b~|~p~|~g~||~y~| ~p~www~r~.~g~brasilknightgames~r~.~y~com~r~.~p~br ~b~|~p~|~g~||~y~|~r~ [RPG v1.0]");
Re: TextDraw -
Juniiro3 - 09.10.2013
Quote:
Originally Posted by Schocc
Nгo somente em OPC, mas sim no momento em que o programador\scripter desejar.
This forum requires that you wait 120 seconds between posts. Please try again in 27 seconds.
aff
|
Sim, mas estou supondo que como й uma TextDraw do fуrum do servidor, ela ficarб sempre lб, e serб mostrada assim que o jogador entrar
Re: TextDraw -
Alisson Silva Alves - 09.10.2013
Alguem
Re: TextDraw -
PT - 09.10.2013