24.02.2014, 09:14
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;
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.000000, 101.000000, "Universo dos Caminhoneiros");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 3);
TextDrawLetterSize(Textdraw0, 0.500000, 1.100000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
Textdraw1 = TextDrawCreate(610.000000, 92.000000, "2.0");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 3);
TextDrawLetterSize(Textdraw1, 0.500000, 1.000000);
TextDrawColor(Textdraw1, 16711935);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);