Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: uinatsvima_ poslato April 07, 2018, 14:36:11 POSLE PODNE

Naslov: Errori na td
Poruka od: uinatsvima_ poslato April 07, 2018, 14:36:11 POSLE PODNE
Problem(error/warning): Errori
Dio skripte: [pawn]    BankaTD[playerid] = TextDrawCreate(156.845428, 431.583526, "~r~NEMA RACUNA");
   TextDrawLetterSize(BankaTD, 0.251801, 1.053331);
   TextDrawAlignment(BankaTD, 1);
   TextDrawColor(BankaTD, -1);
   TextDrawSetShadow(BankaTD, 0);
   TextDrawSetOutline(BankaTD, -1);
   TextDrawFont(BankaTD, 2);

        ZlatoTD[playerid] = TextDrawCreate(266.252105, 431.583526, "~r~5g");
   TextDrawLetterSize(ZlatoTD, 0.252802, 1.053331);
   TextDrawAlignment(ZlatoTD, 1);
   TextDrawColor(ZlatoTD, -1);
   TextDrawSetShadow(ZlatoTD, 0);
   TextDrawSetOutline(ZlatoTD, -1);
   TextDrawFont(ZlatoTD, 2);
   TextDrawSetProportional(ZlatoTD, 1);
   TextDrawSetShadow(ZlatoTD, 0);[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): ///
Slika/video ingame problema(obavezno ako je ingame problem): //////

Errori koji se pojavljuju:
[pawn]C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37466) : warning 213: tag mismatch
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37467) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37468) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37469) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37470) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37471) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37472) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37474) : warning 213: tag mismatch
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37475) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37476) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37477) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37478) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37479) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37480) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37481) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\#Skriptanje ()\gamemodes\NKRPG.pwn(37482) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.10.4           Copyright (c) 1997-2006, ITB CompuPhase


14 Errors.[/pawn]
Naslov: Odg: Errori na td
Poruka od: Terza Lazarevic poslato April 07, 2018, 14:37:56 POSLE PODNE
To treba da ti bude player textdraw da bi ti radilo..
Naslov: Odg: Errori na td
Poruka od: uinatsvima_ poslato April 07, 2018, 14:38:35 POSLE PODNE
Citat: Terzic poslato April 07, 2018, 14:37:56 POSLE PODNE
To treba da ti bude player textdraw da bi ti radilo..
Znaš kako da postavim? :( :( ??? ??? da bude tako
Naslov: Odg: Errori na td
Poruka od: Ƭ H Σ Ʋ 1 ∏ ∏ Ψ _ poslato April 07, 2018, 14:53:45 POSLE PODNE
Probaj ovako :)
[pawn]          BankaTD[ playerid ] = CreatePlayerTextDraw(playerid, 156.845428, 431.583526, "~r~NEMA RACUNA");
     PlayerTextDrawLetterSize(playerid, BankaTD[ playerid ], 0.251801, 1.053331);
     PlayerTextDrawAlignment(playerid, BankaTD[ playerid ], 1);
     PlayerTextDrawColor(playerid, BankaTD[ playerid ], -1);
     PlayerTextDrawSetShadow(playerid, BankaTD[ playerid ], 0);
     PlayerTextDrawSetOutline(playerid, BankaTD[ playerid ], -1);
     PlayerTextDrawFont(playerid, BankaTD[ playerid ], 2);

          ZlatoTD[ playerid ] = CreatePlayerTextDraw(playerid, 266.252105, 431.583526, "~r~5g");
     PlayerTextDrawLetterSize(playerid, ZlatoTD[ playerid ], 0.252802, 1.053331);
     PlayerTextDrawAlignment(playerid, ZlatoTD[ playerid ], 1);
     PlayerTextDrawColor(playerid, ZlatoTD[ playerid ], -1);
     PlayerTextDrawSetShadow(playerid, ZlatoTD[ playerid ], 0);
     PlayerTextDrawSetOutline(playerid, ZlatoTD[ playerid ], -1);
     PlayerTextDrawFont(playerid, ZlatoTD[ playerid ], 2);
     PlayerTextDrawSetProportional(playerid, ZlatoTD[ playerid ], 1);
     PlayerTextDrawSetShadow(playerid, ZlatoTD[ playerid ], 0);[/pawn]
Naslov: Odg: Errori na td
Poruka od: uinatsvima_ poslato April 07, 2018, 14:55:59 POSLE PODNE
Citat: #TheV1nny_ poslato April 07, 2018, 14:53:45 POSLE PODNE
Probaj ovako :)
[pawn]          BankaTD[ playerid ] = CreatePlayerTextDraw(playerid, 156.845428, 431.583526, "~r~NEMA RACUNA");
     PlayerTextDrawLetterSize(playerid, BankaTD[ playerid ], 0.251801, 1.053331);
     PlayerTextDrawAlignment(playerid, BankaTD[ playerid ], 1);
     PlayerTextDrawColor(playerid, BankaTD[ playerid ], -1);
     PlayerTextDrawSetShadow(playerid, BankaTD[ playerid ], 0);
     PlayerTextDrawSetOutline(playerid, BankaTD[ playerid ], -1);
     PlayerTextDrawFont(playerid, BankaTD[ playerid ], 2);

          ZlatoTD[ playerid ] = CreatePlayerTextDraw(playerid, 266.252105, 431.583526, "~r~5g");
     PlayerTextDrawLetterSize(playerid, ZlatoTD[ playerid ], 0.252802, 1.053331);
     PlayerTextDrawAlignment(playerid, ZlatoTD[ playerid ], 1);
     PlayerTextDrawColor(playerid, ZlatoTD[ playerid ], -1);
     PlayerTextDrawSetShadow(playerid, ZlatoTD[ playerid ], 0);
     PlayerTextDrawSetOutline(playerid, ZlatoTD[ playerid ], -1);
     PlayerTextDrawFont(playerid, ZlatoTD[ playerid ], 2);
     PlayerTextDrawSetProportional(playerid, ZlatoTD[ playerid ], 1);
     PlayerTextDrawSetShadow(playerid, ZlatoTD[ playerid ], 0);[/pawn]
RADIIIIII HVALA KRALJU <3 :DDD