[PROBLEM] Oko TDE

Započeo Royal_Morelli
9. Jan. 2017. Zaključano
502
pregleda
9
postova
Royal_Morelli
2
Street Runner
9. Jan. 2017.
Skripta koju koristim: Default Samp Server

Detaljan opis problema: Pocetnik sam u skriptanju i teo sam stavim TDE (Text Draw) i pratio sam jedan tutorijal
i sve sam uradio tako i izbaci 4 ERRORS (bice pod dio skripte)

LINK klipa: https://www.youtube.com/watch?v=jmUoORkZ14Y (2013)
PS: Znam da od 2013 god se promenilo skriptanje ali msm da sam ja negde pogresio

Dio skripte:C:\Users\korisnik\Desktop\games\gta-samp\Mapping Server\gamemodes\grandlarc.pwn(53) : error 017: undefined symbol "info"
C:\Users\korisnik\Desktop\games\gta-samp\Mapping Server\gamemodes\grandlarc.pwn(53) : error 036: empty statement
C:\Users\korisnik\Desktop\games\gta-samp\Mapping Server\gamemodes\grandlarc.pwn(53) : error 017: undefined symbol "i"
C:\Users\korisnik\Desktop\games\gta-samp\Mapping Server\gamemodes\grandlarc.pwn(53) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

4 Errors.

Neke slike/video za lakse dobivanje pomoci(neobavezno): //
James_SmithXDl
6
OG Legend
10. Jan. 2017.
daj kod toga sto si uradio tokom gledanja tutorijala
Royal_Morelli
2
Street Runner
10. Jan. 2017.
public OnPlayerConnect(playerid){

for(new i=0;i TextDrawShowForPlayer(playerid info); }

GameTextForPlayer(playerid,"~b~~h~P~w~ride~b~~h~G~w~aming",3000,4);
 
  gPlayerCitySelection = -1;
gPlayerHasCitySelected = 0;
gPlayerLastCitySelectionTick = GetTickCount();

return 1;
}

//----------------------------------------------------------

public OnPlayerDisconnect(playerid) {

for(new i=0;i
TextDrawShowForPlayer(playerid info); }


return 1;

}

///////////////////////////////////////////////

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(560,1,"~g~~h~R~w~oncewic");
TextDrawLetterSize(Info,0.399999,1.600000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(586,16,"~g~~h~M~w~apping");
TextDrawLetterSize(Info,0.299999,1.300000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(553,1,"_");
TextDrawLetterSize(Info,0.750000,2.100000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,3);
TextDrawUseBox(Info,1);
TextDrawBoxColor(Info,0x00000066);
TextDrawTextSize(Info,656.000000,11.000000);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,1);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(578,23,"_");
TextDrawLetterSize(Info,0.500000,1.000000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,3);
TextDrawUseBox(Info,1);
TextDrawBoxColor(Info,0x00000066);
TextDrawTextSize(Info,678.000000,29.000000);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,1);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(-1,428,"_");
TextDrawLetterSize(Info,0.500000,-0.100000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,3);
TextDrawUseBox(Info,1);
TextDrawBoxColor(Info,0x3399ffFF);
TextDrawTextSize(Info,680.000000,439.000000);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,1);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(-61,430,"_");
TextDrawLetterSize(Info,0.650000,1.900000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,3);
TextDrawUseBox(Info,1);
TextDrawBoxColor(Info,0x00000066);
TextDrawTextSize(Info,682.000000,440.000000);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,1);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(-19,447,"_");
TextDrawLetterSize(Info,0.500000,0.299999);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,3);
TextDrawUseBox(Info,1);
TextDrawBoxColor(Info,0x3399ffFF);
TextDrawTextSize(Info,721.000000,457.000000);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,1);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(30,432,"~g~~h~M~w~apping~g~~h~S~w~erver");
TextDrawLetterSize(Info,0.500000,1.000000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(132,435,":");
TextDrawLetterSize(Info,0.399999,0.599999);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,0);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(141,432,"welcome to mapping server ~g~~h~P~w~ride");
TextDrawLetterSize(Info,0.399999,1.000000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(495,434,"Direct by: ~g~~h~R~w~oncewic");
TextDrawLetterSize(Info,0.399999,1.100000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
new Text:Info;
Info = TextDrawCreate(622,428,"v1.0");
TextDrawLetterSize(Info,0.249999,1.000000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------
James_SmithXDl
6
OG Legend
10. Jan. 2017.
PogrijeÅ¡io si na par mjesta i ne možeÅ¡ jedan te isti Info new-ovat viÅ¡ee i viÅ¡ee puta 😄
Ispravio sam ti sve evo ti ispod kod:

//-------------------------------------------------
new Text:Info;
public OnGameModeInit()
{
//--------------------------------------------------
Info = TextDrawCreate(560,1,"~g~~h~R~w~oncewic");
TextDrawLetterSize(Info,0.399999,1.600000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(586,16,"~g~~h~M~w~apping");
TextDrawLetterSize(Info,0.299999,1.300000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(553,1,"_");
TextDrawLetterSize(Info,0.750000,2.100000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,3);
TextDrawUseBox(Info,1);
TextDrawBoxColor(Info,0x00000066);
TextDrawTextSize(Info,656.000000,11.000000);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,1);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(578,23,"_");
TextDrawLetterSize(Info,0.500000,1.000000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,3);
TextDrawUseBox(Info,1);
TextDrawBoxColor(Info,0x00000066);
TextDrawTextSize(Info,678.000000,29.000000);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,1);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(-1,428,"_");
TextDrawLetterSize(Info,0.500000,-0.100000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,3);
TextDrawUseBox(Info,1);
TextDrawBoxColor(Info,0x3399ffFF);
TextDrawTextSize(Info,680.000000,439.000000);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,1);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(-61,430,"_");
TextDrawLetterSize(Info,0.650000,1.900000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,3);
TextDrawUseBox(Info,1);
TextDrawBoxColor(Info,0x00000066);
TextDrawTextSize(Info,682.000000,440.000000);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,1);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(-19,447,"_");
TextDrawLetterSize(Info,0.500000,0.299999);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,3);
TextDrawUseBox(Info,1);
TextDrawBoxColor(Info,0x3399ffFF);
TextDrawTextSize(Info,721.000000,457.000000);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,1);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(30,432,"~g~~h~M~w~apping~g~~h~S~w~erver");
TextDrawLetterSize(Info,0.500000,1.000000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(132,435,":");
TextDrawLetterSize(Info,0.399999,0.599999);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,0);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(141,432,"welcome to mapping server ~g~~h~P~w~ride");
TextDrawLetterSize(Info,0.399999,1.000000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(495,434,"Direct by: ~g~~h~R~w~oncewic");
TextDrawLetterSize(Info,0.399999,1.100000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------

//--------------------------------------------------
Info = TextDrawCreate(622,428,"v1.0");
TextDrawLetterSize(Info,0.249999,1.000000);
TextDrawAlignment(Info,0);
TextDrawBackgroundColor(Info,0x000000FF);
TextDrawFont(Info,1);
TextDrawUseBox(Info,0);
TextDrawSetOutline(Info,0);
TextDrawSetProportional(Info,1);
TextDrawSetShadow(Info,0);
//--------------------------------------------------
return 1;
}
public OnPlayerConnect(playerid){
  for(new i=0;i{
TextDrawShowForPlayer(playerid,Info);
}
  GameTextForPlayer(playerid,"~b~~h~P~w~ride~b~~h~G~w~aming",3000,4);
gPlayerCitySelection = -1;
  gPlayerHasCitySelected = 0;
  gPlayerLastCitySelectionTick = GetTickCount();
return 1;
}

// Da prekriješ ove textdrawove koristi TextDrawHideForPlayer - primjer:
  for(new i=0;i{
TextDrawHideForPlayer(playerid,Info);
}
Royal_Morelli
2
Street Runner
10. Jan. 2017.
Hvala duzan sam ti  😉 nov sam
puno hvala
Royal_Morelli
2
Street Runner
10. Jan. 2017.
Ponovo ERROR !
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

C:\Users\korisnik\Desktop\games\gta-samp\Mapping Server\gamemodes\grandlarc.pwn(53) : error 017: undefined symbol "Info"
C:\Users\korisnik\Desktop\games\gta-samp\Mapping Server\gamemodes\grandlarc.pwn(53) : error 036: empty statement
C:\Users\korisnik\Desktop\games\gta-samp\Mapping Server\gamemodes\grandlarc.pwn(53) : error 017: undefined symbol "i"
C:\Users\korisnik\Desktop\games\gta-samp\Mapping Server\gamemodes\grandlarc.pwn(53) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

4 Errors.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Stefan Hacker
4
Made Man
10. Jan. 2017.
Brt logledaj neki drugi video ima ja sam snimao bas Wizz pa vidi da li ce ti to pomoc 🙂
James_SmithXDl
6
OG Legend
10. Jan. 2017.
Royal_Morelli wrote on January 10, 2017, 9:50 am:
Hvala duzan sam ti  😉 nov sam
puno hvala
Ma nista,nisi 😄 😄 😄
Sta si sad pravio/pisao?
Daj kod xd
Royal_Morelli
2
Street Runner
10. Jan. 2017.
sredio xD

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha