Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Savana poslato Oktobar 26, 2014, 14:35:35 POSLE PODNE

Naslov: [Pomoc] TextDraw mali warninzi
Poruka od: Savana poslato Oktobar 26, 2014, 14:35:35 POSLE PODNE
Skripta koju koristim: BC Trucking
Detaljan opis problema:A evo otvaram trucking na balkanu,i tako i sad mi fali samo tdtdraw gore u cosku ja sam ga uradio ali dobijem sljedece,ako netko zna sta treba treba vjerojatno definirat ali neka mi napise tu kako,..jer sam pocetnik u pawno
Dio skripte:/*------------------------------------------------------------------------------*/
    CobraTextDraw= TextDrawCreate(488.000000, 3.000000, "BattleCraft"); TextDrawColor(CobraTextDraw,0x000000FF); TextDrawLetterSize(CobraTextDraw,0.759999,2.000000); TextDrawFont(CobraTextDraw,1); TextDrawSetOutline(CobraTextDraw,1); TextDrawBackgroundColor(CobraTextDraw,0x00EC00FF);
/*------------------------------------------------------------------------------*/
CobraTextDraw1= TextDrawCreate(554.000000,22.000000, "Trucking"); TextDrawColor(CobraTextDraw1,0x000000FF); TextDrawLetterSize(CobraTextDraw1,0.350000,1.000000); TextDrawFont(CobraTextDraw1,1); TextDrawSetOutline(CobraTextDraw1,1); TextDrawBackgroundColor(CobraTextDraw1,0xFFFFFFFF);
/*------------------------------------------------------------------------------*/

Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Error:C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18399) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18399) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18399) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18399) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18399) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18399) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18401) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18401) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18401) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18401) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18401) : warning 213: tag mismatch
C:\Users\Danijel\Desktop\BattleCraft Truck\gamemodes\PPC_Trucking.pwn(18401) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


12 Warnings.


Ovo gore 2je su linija 18401 i linija 18399
Naslov: Odg: [Pomoc] TextDraw mali warninzi
Poruka od: RilleX poslato Oktobar 26, 2014, 14:45:27 POSLE PODNE

new Text:CobraTextDraw// na vrhu
new Text:CobraTextDraw1

public OnGameModeInit()
{
    CobraTextDraw = TextDrawCreate(488.000000, 3.000000, "server uklonjen!");
TextDrawColor(CobraTextDraw,0x000000FF);
TextDrawLetterSize(CobraTextDraw,0.759999,2.000000);
TextDrawFont(CobraTextDraw,1);
TextDrawSetOutline(CobraTextDraw,1);
TextDrawBackgroundColor(CobraTextDraw,0x00EC00FF);
/*------------------------------------------------------------------------------*/
CobraTextDraw1 = TextDrawCreate(554.000000,22.000000, "Trucking");
TextDrawColor(CobraTextDraw1,0x000000FF);
TextDrawLetterSize(CobraTextDraw1,0.350000,1.000000);
TextDrawFont(CobraTextDraw1,1);
TextDrawSetOutline(CobraTextDraw1,1);
TextDrawBackgroundColor(CobraTextDraw1,0xFFFFFFFF);

return 1;
}
/*------------------------------------------------------------------------------*/
Naslov: Odg: [Pomoc] TextDraw mali warninzi
Poruka od: Savana poslato Oktobar 26, 2014, 15:07:31 POSLE PODNE
Ubacio sam nema errora al sad nemogu na server evo server log

[15:06:11] [join] Savana has joined the server (0:192.168.5.190)
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:11] sscanf error: System not initialised.
[15:06:15] [part] Savana has left the server (0:2)
Naslov: Odg: [Pomoc] TextDraw mali warninzi
Poruka od: RilleX poslato Oktobar 26, 2014, 19:54:36 POSLE PODNE
Update sscanf i na vrh stavi  #include <sscanf2>