05.12.2011, 05:40
Now I have some problems at creating the textdraw.
pawn Код:
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(146) : error 033: array must be indexed (variable "Textdraw7")
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(147) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(148) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(149) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(150) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(151) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(152) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(153) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(155) : error 033: array must be indexed (variable "Textdraw8")
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(156) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(157) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(158) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(159) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(160) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(161) : error 035: argument type mismatch (argument 1)
C:\Users\Lars\Desktop\Sa-mp\gamemodes\suncobrob.pwn(162) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
pawn Код:
Textdraw7 = TextDrawCreate(3.000000, 274.000000, "Job Cooldown");
TextDrawBackgroundColor(Textdraw7, 255);
TextDrawFont(Textdraw7, 1);
TextDrawLetterSize(Textdraw7, 0.500000, 1.000000);
TextDrawColor(Textdraw7, -1);
TextDrawSetOutline(Textdraw7, 0);
TextDrawSetProportional(Textdraw7, 1);
TextDrawSetShadow(Textdraw7, 1);
Textdraw8 = TextDrawCreate(54.000000, 293.000000, "_");
TextDrawBackgroundColor(Textdraw8, 255);
TextDrawFont(Textdraw8, 1);
TextDrawLetterSize(Textdraw8, 0.500000, 1.000000);
TextDrawColor(Textdraw8, 16777215);
TextDrawSetOutline(Textdraw8, 0);
TextDrawSetProportional(Textdraw8, 1);
TextDrawSetShadow(Textdraw8, 1);