dos errores en un TextDraw
#1

Buenas puso un TextDraw y me da los siguientes errores:

EL que puse

PHP код:
new Text:Azul;
new 
Text:Azul1;
Azul TextDrawCreate(496.000274421.119995"PAWNO");
TextDrawLetterSize(Azul0.4499991.600000);
TextDrawAlignment(Azul1);
TextDrawColor(Azul, -1);
TextDrawSetShadow(Azul0);
TextDrawSetOutline(Azul1);
TextDrawBackgroundColor(Azul51);
TextDrawFont(Azul3);
TextDrawSetProportional(Azul1);
Azul1 TextDrawCreate(553.600341421.119934"ROLEPLAY");
TextDrawLetterSize(Azul10.4499991.600000);
TextDrawAlignment(Azul11);
TextDrawColor(Azul165535);
TextDrawSetShadow(Azul10);
TextDrawSetOutline(Azul11);
TextDrawBackgroundColor(Azul151);
TextDrawFont(Azul13);
TextDrawSetProportional(Azul11); 
Los errores que me da

PHP код:
F:\New Gothan Servidor\Nueva carpeta\gamemodes\NGrol.pwn(544) : error 010invalid function or declaration
F
:\New Gothan Servidor\Nueva carpeta\gamemodes\NGrol.pwn(554) : error 010invalid function or declaration
F
:\New Gothan Servidor\Nueva carpeta\gamemodes\NGrol.pwn(630) : warning 203symbol is never used"Azul"
F:\New Gothan Servidor\Nueva carpeta\gamemodes\NGrol.pwn(630) : warning 203symbol is never used"Azul1"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 errors

Reply
#2

Manda las lнneas
Reply
#3

Errores
Linea 544
Quote:

Azul1 = TextDrawCreate(553.600341, 421.119934, "ROLEPLAY");

Linea 554
Quote:

Azul1 = TextDrawCreate(553.600341, 421.119934, "ROLEPLAY");

Reply
#4

Quote:
Originally Posted by GOM3Z
Посмотреть сообщение
Errores
Linea 544

Linea 554
їDiferentes lineas, mismo codigo...


їNo lo estas poniendo 2 veces? o son diferentes textdraws pero con la misma variable ?
Reply
#5

Quote:
Originally Posted by Danielu
Посмотреть сообщение
їDiferentes lineas, mismo codigo...


їNo lo estas poniendo 2 veces? o son diferentes textdraws pero con la misma variable de textdraw?
creo q no
Reply
#6

Quote:
Originally Posted by GOM3Z
Посмотреть сообщение
Errores
Linea 544

Linea 554
Estбs repitiendo el cуdigo mira bien.
Reply
#7

Quote:
Originally Posted by GOM3Z
Посмотреть сообщение
creo q no
їentonces porque pones el mismo codigo de las 2 lineas que te marcan error pero en diferentes lineas?
Reply
#8

e estado mirando y los errores son esos
este

Quote:

Azul = TextDrawCreate(496.000274, 421.119995, "PAWNO");

y este
Quote:

Azu11 = TextDrawCreate(553.600341, 421.119934, "ROLEPLAY");

Reply
#9

No se si sera la causa del error, pero, їDonde estas poniendo ese codigo?
Reply
#10

Estas repitiendo el mismo cуdigo pero en diferentes lнneas?

Si no Prueba asi:

Код:
new Text:Azul; 
new Text:Azul1; 

public OnGameModeInit()
{
Azul = TextDrawCreate(496.000274, 421.119995, "PAWNO"); 
TextDrawLetterSize(Azul, 0.449999, 1.600000); 
TextDrawAlignment(Azul, 1); 
TextDrawColor(Azul, -1); 
TextDrawSetShadow(Azul, 0); 
TextDrawSetOutline(Azul, 1); 
TextDrawBackgroundColor(Azul, 51); 
TextDrawFont(Azul, 3); 
TextDrawSetProportional(Azul, 1); 

Azul1 = TextDrawCreate(553.600341, 421.119934, "ROLEPLAY"); 
TextDrawLetterSize(Azul1, 0.449999, 1.600000); 
TextDrawAlignment(Azul1, 1); 
TextDrawColor(Azul1, 65535); 
TextDrawSetShadow(Azul1, 0); 
TextDrawSetOutline(Azul1, 1); 
TextDrawBackgroundColor(Azul1, 51); 
TextDrawFont(Azul1, 3); 
TextDrawSetProportional(Azul1, 1);
return1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)