error 001: expected token: ";", but found "-identifier-"

Započeo Maksim0vic
21. Feb. 2018.
1,980
pregleda
5
postova
MaksimovicScript
3
Hustler
21. Feb. 2018.
Detaljan opis problema:Ubacio vao sam nove tdove i sve je lepo ubaceno proveravao sam vise puta ali dobijam error
C:\Users\maksimovic\Desktop\BALKAN SUPREME\gamemodes\bsrp.pwn(6899) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

1 Error.

Dio skripte:Uznacio sam sa /// 6899 liniju gde je error
/////////////////////////////////INGAME TEXTDRAWS///////////////
TDEditor_TD = TextDrawCreate(550.000000, 15.377735, "balkan");
TextDrawLetterSize(TDEditor_TD, 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 1);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);

TDEditor_TD = TextDrawCreate(556.500000, 27.122301, "supreme");
TextDrawLetterSize(TDEditor_TD, 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -2147483393);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 1);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);

TDEditor_TD = TextDrawCreate(599.899902, 10.766614, "v0.1");
TextDrawLetterSize(TDEditor_TD, 0.198500, 0.847108);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 1);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);

TDEditor_TD = TextDrawCreate(521.500000, 1.288866, "online_gaming_community");
TextDrawLetterSize(TDEditor_TD, 0.190999, 1.195554);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 1);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);

TDEditor_TD = TextDrawCreate(534.099975, 96.633369, "$999999999");
TextDrawLetterSize(TDEditor_TD, 0.264499, 1.189332);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, 69818367);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 1);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);

TDEditor_TD = TextDrawCreate(360.903167, 429.455596, "-supreme.com");
TextDrawLetterSize(TDEditor_TD, 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD, 2);
TextDrawColor(TDEditor_TD, -2147483393);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 1);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 3);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);

TDEditor_TD = TextDrawCreate(265.701812, 429.355590, "www.balkan");
TextDrawLetterSize(TDEditor_TD, 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD, 2);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 1);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 3);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0)
///////////////////////////////////////////////////////////////
TDO = TextDrawCreate(41.000000, 260.000000, "_"); /// 6899
TextDrawBackgroundColor(TDO, 255);
TextDrawFont(TDO, 1);
TextDrawLetterSize(TDO, 0.500000, 0.499998);
TextDrawColor(TDO, -1);
TextDrawSetOutline(TDO, 0);
TextDrawSetProportional(TDO, 1);
TextDrawSetShadow(TDO, 1);
TextDrawUseBox(TDO, 1);
TextDrawBoxColor(TDO, -1);
TextDrawTextSize(TDO, 148.000000, 19.000000);

TDO = TextDrawCreate(41.000000, 271.000000, "_");
TextDrawBackgroundColor(TDO, 255);
TextDrawFont(TDO, 1);
TextDrawLetterSize(TDO, 0.500000, 6.499997);
TextDrawColor(TDO, -1);
TextDrawSetOutline(TDO, 0);
TextDrawSetProportional(TDO, 1);
TextDrawSetShadow(TDO, 1);
TextDrawUseBox(TDO, 1);
TextDrawBoxColor(TDO, 842150450);
TextDrawTextSize(TDO, 148.000000, 19.000000);

TDO = TextDrawCreate(40.000000, 268.000000, "Dalje - ~y~Levi Klick");
TextDrawBackgroundColor(TDO, 255);
TextDrawFont(TDO, 2);
TextDrawLetterSize(TDO, 0.280000, 1.700000);
TextDrawColor(TDO, -1);
TextDrawSetOutline(TDO, 0);
TextDrawSetProportional(TDO, 1);
TextDrawSetShadow(TDO, 1);

TDO = TextDrawCreate(40.000000, 298.000000, "odabir - ~y~shift");
TextDrawBackgroundColor(TDO, 255);
TextDrawFont(TDO, 2);
TextDrawLetterSize(TDO, 0.310000, 1.600000);
TextDrawColor(TDO, -1);
TextDrawSetOutline(TDO, 0);
TextDrawSetProportional(TDO, 1);
TextDrawSetShadow(TDO, 1);

TDO = TextDrawCreate(39.000000, 284.000000, "Izlaz - ~y~Space");
TextDrawBackgroundColor(TDO, 255);
TextDrawFont(TDO, 2);
TextDrawLetterSize(TDO, 0.349999, 1.500000);
TextDrawColor(TDO, -1);
TextDrawSetOutline(TDO, 0);
TextDrawSetProportional(TDO, 1);
TextDrawSetShadow(TDO, 1);

TDO = TextDrawCreate(73.000000, 254.000000, "Butik");
TextDrawBackgroundColor(TDO, 255);
TextDrawFont(TDO, 2);
TextDrawLetterSize(TDO, 0.349999, 1.500000);
TextDrawColor(TDO, -16776961);
TextDrawSetOutline(TDO, 0);
TextDrawSetProportional(TDO, 1);
TextDrawSetShadow(TDO, 1);

TDO = TextDrawCreate(40.000000, 314.000000, "Cena: ~g~250$");
TextDrawBackgroundColor(TDO, 255);
TextDrawFont(TDO, 2);
TextDrawLetterSize(TDO, 0.349999, 1.500000);
TextDrawColor(TDO, -1);
TextDrawSetOutline(TDO, 0);
TextDrawSetProportional(TDO, 1);
TextDrawSetShadow(TDO, 1);
///////////////////////////////////////////////////////////////

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Chezno
4
Enforcer
21. Feb. 2018.
Linija iznad treba da bude zatvorena.
TextDrawSetShadow(TDEditor_TD, 0);
MaksimovicScript
3
Hustler
21. Feb. 2018.
\nLucius wrote on February 21, 2018, 10:41 pm:
Linija iznad treba da bude zatvorena.
TextDrawSetShadow(TDEditor_TD, 0);


Posto sm pocetnik kako to mislis da linija bude zatvorena?
Chezno
4
Enforcer
21. Feb. 2018.
Linija izgleda ovako
TextDrawSetShadow(TDEditor_TD, 0)

a treba da izgleda ovako
TextDrawSetShadow(TDEditor_TD, 0);

fali ti znak ";" na kraju
MaksimovicScript
3
Hustler
21. Feb. 2018.
\nLucius wrote on February 21, 2018, 10:51 pm:
Linija izgleda ovako
TextDrawSetShadow(TDEditor_TD, 0)

a treba da izgleda ovako
TextDrawSetShadow(TDEditor_TD, 0);

fali ti znak ";" na kraju


Ahaa,ja sm trazio jedno 5 minuta gde mi fali ; i nisam skontao gde je inace HVALA TI MNOGO 🙂

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha