[Ajuda] TextDrawn
#1

Bom pessoal olha eu fiz o textdrawn e sу colokei no OnGameModInit olha o erro..

C:\Users\Caio\Desktop\Universo dos Caminhoneiros [GM]\UDC\gamemodes\UDC.pwn(140) : error 021: symbol already defined: "Textdraw0"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Os Loose sei resolver... olha o cуdigo abaxo;

PHP код:
public OnGameModeInit()
{
    
Textdraw0 TextDrawCreate(404.000000101.000000"Universo dos Caminhoneiros");
    
TextDrawBackgroundColor(Textdraw0255);
    
TextDrawFont(Textdraw03);
    
TextDrawLetterSize(Textdraw00.5000001.100000);
    
TextDrawColor(Textdraw0, -1);
    
TextDrawSetOutline(Textdraw00);
    
TextDrawSetProportional(Textdraw01);
    
TextDrawSetShadow(Textdraw01);
    
Textdraw1 TextDrawCreate(610.00000092.000000"2.0");
    
TextDrawBackgroundColor(Textdraw1255);
    
TextDrawFont(Textdraw13);
    
TextDrawLetterSize(Textdraw10.5000001.000000);
    
TextDrawColor(Textdraw116711935);
    
TextDrawSetOutline(Textdraw10);
    
TextDrawSetProportional(Textdraw11);
    
TextDrawSetShadow(Textdraw11); 
Reply
#2

ve se esse textdraw0
ja existe
voce pode ter criado uma variavel textdraw igual ao esse
Reply
#3

Ja existe sta definiзгo, altere o nome dele !
Reply
#4

arrumei mais quando eu entro n aparece a textdraw
Reply
#5

pawn Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, /*Nome da textdraw*/);
}
Reply
#6

й 2 eu coloco assim?

PHP код:
public OnPlayerConnect(playerid)
{
    
TextDrawShowForPlayer(playerid/*Textdraw0*//*Textdraw1*/);

Reply
#7

Quote:
Originally Posted by Nork
Посмотреть сообщение
й 2 eu coloco assim?

PHP код:
public OnPlayerConnect(playerid)
{
    
TextDrawShowForPlayer(playerid/*Textdraw0*//*Textdraw1*/);

cada um vc coloca

PHP код:
public OnPlayerConnect(playerid)
{
    
TextDrawShowForPlayer(playeridTextdraw0);
     
TextDrawShowForPlayer(playeridTextdraw1);

[/QUOTE]
Reply
#8

Desculpem, eu tinha conseguido й falta de atenзгo mesmo obrigado.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)