[Ajuda] TextDraw
#1

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 ?
Reply
#2

Coloque isso na public

pawn Код:
public OnGameModeInit()
Reply
#3

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
Reply
#4

Aparentemente estб correto.

Toda Textdraw apуs ser criada e formatada na OnGameModeInit deve ser mostrada ao jogador usando TextDrawShowForPlayer na OnPlayerConnect
Reply
#5

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
Reply
#6

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]");
Reply
#7

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
Reply
#8

Alguem
Reply
#9

pawn Код:
new forum[MAX_PLAYERS];
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)