[Pomoc]Textdrawovi


Započeo MALI RAMBO, Septembar 20, 2014, 00:31:59 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:
Detaljan opis problema:Pa stalno mi izbacuje ovaj error kada hocu da compilam
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(157) : error 017: undefined symbol "Box0"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(158) : error 017: undefined symbol "Box1"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(159) : error 017: undefined symbol "Box2"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(160) : error 017: undefined symbol "Box3"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(161) : error 017: undefined symbol "Box4"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(162) : error 017: undefined symbol "Box5"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(163) : error 017: undefined symbol "Box6"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(164) : error 017: undefined symbol "Box7"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(165) : error 017: undefined symbol "Box8"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(366) : error 017: undefined symbol "Box7"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(371) : error 017: undefined symbol "Box8"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(377) : error 017: undefined symbol "Box0"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(378) : error 017: undefined symbol "Box1"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(379) : error 017: undefined symbol "Box2"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(380) : error 017: undefined symbol "Box3"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(381) : error 017: undefined symbol "Box4"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(382) : error 017: undefined symbol "Box5"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(383) : error 017: undefined symbol "Box6"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(384) : error 017: undefined symbol "Box7"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(385) : error 017: undefined symbol "Box8"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(395) : error 017: undefined symbol "Box0"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(396) : error 017: undefined symbol "Box1"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(397) : error 017: undefined symbol "Box2"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(398) : error 017: undefined symbol "Box3"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(399) : error 017: undefined symbol "Box4"
C:\Documents and Settings\Korisnik\Desktop\Dillmore RP\filterscripts\gps.pwn(400) : error 017: undefined symbol "Box5"

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


26 Errors.

Ne znam vise ni sam sta da probam sve sam uradio...Molio bih Vas da mi neko pomogne ovo mi je hitno!Sve imam pod new:Text... !
Dio skripte:/
Neke slike/video za lakse dobivanje pomoci(neobavezno):/



Citat: Lenon poslato Septembar 20, 2014, 08:22:53 PRE PODNE
Kako si ih definisao?
new Text:Box0;
new Text:Box1;
new Text:Box2;
new Text:Box3;
new Text:Box4;
new Text:Box5;
new Text:Box6;
new Text:Box7;
new Text:Box8;


Citat: Lenon poslato Septembar 20, 2014, 11:12:46 PRE PODNE
Mozda ti fali negdje { ili } ?
I to sam proveravao ali nigde nisam nasao i koristio sam onaj program za to i pisalo je 50/50...

Evo i kako izgledaju neke linije od tih errora:
TextDrawSetSelectable(Box0, false);
	TextDrawSetSelectable(Box1, false);
	TextDrawSetSelectable(Box2, false);
	TextDrawSetSelectable(Box3, false);
	TextDrawSetSelectable(Box4, false);
	TextDrawSetSelectable(Box5, false);
	TextDrawSetSelectable(Box6, false);
	TextDrawSetSelectable(Box7, true);
	TextDrawSetSelectable(Box8, true);

Definiraj ih na vrh skripte ne u ongamemodenit nego kao globalne...
-      @ Mirzerian_06     -


You wanna play a game? Alright.

Citat: Amar Tinjak poslato Septembar 20, 2014, 12:53:27 POSLE PODNE
Definiraj ih na vrh skripte ne u ongamemodenit nego kao globalne...
Hvala,to sam resio,nego kada kucam komandu ne pojavljuju mi se uopste textdrawovi do cega to moze biti?


Citat: Don Corleone. poslato Septembar 20, 2014, 15:15:06 POSLE PODNE
Daj komandu ovdje.
CMD:pomoc(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xA3B4C5FF, "U vozilu sto ne mozete koristiti ovo!");
	{
		TextDrawShowForPlayer(playerid, Box0);
		TextDrawShowForPlayer(playerid, Box1);
		TextDrawShowForPlayer(playerid, Box2);
		TextDrawShowForPlayer(playerid, Box3);
		TextDrawShowForPlayer(playerid, Box4);
		TextDrawShowForPlayer(playerid, Box5);
		TextDrawShowForPlayer(playerid, Box6);
		TextDrawShowForPlayer(playerid, Box7);
		TextDrawShowForPlayer(playerid, Box8);

		SelectTextDraw(playerid, 0xA3B4C5FF);
        return 1;
	}
}

CMD:pomoc(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xA3B4C5FF, "U vozilu sto ne mozete koristiti ovo!");
	{
		TextDrawShowForPlayer(playerid, Box0);
		TextDrawShowForPlayer(playerid, Box1);
		TextDrawShowForPlayer(playerid, Box2);
		TextDrawShowForPlayer(playerid, Box3);
		TextDrawShowForPlayer(playerid, Box4);
		TextDrawShowForPlayer(playerid, Box5);
		TextDrawShowForPlayer(playerid, Box6);
		TextDrawShowForPlayer(playerid, Box7);
		TextDrawShowForPlayer(playerid, Box8);

		SelectTextDraw(playerid, 0xA3B4C5FF);
        
	}
 return 1;
}


Sto se tice komande ona je ok ali  postoji neki drugi problem .
-      @ Mirzerian_06     -


You wanna play a game? Alright.

Citat: Amar Tinjak poslato Septembar 20, 2014, 17:50:57 POSLE PODNE
CMD:pomoc(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xA3B4C5FF, "U vozilu sto ne mozete koristiti ovo!");
	{
		TextDrawShowForPlayer(playerid, Box0);
		TextDrawShowForPlayer(playerid, Box1);
		TextDrawShowForPlayer(playerid, Box2);
		TextDrawShowForPlayer(playerid, Box3);
		TextDrawShowForPlayer(playerid, Box4);
		TextDrawShowForPlayer(playerid, Box5);
		TextDrawShowForPlayer(playerid, Box6);
		TextDrawShowForPlayer(playerid, Box7);
		TextDrawShowForPlayer(playerid, Box8);

		SelectTextDraw(playerid, 0xA3B4C5FF);
        
	}
 return 1;
}


Sto se tice komande ona je ok ali  postoji neki drugi problem .
Ne prikazuje TD...

Postavi mi da vidim kako ti kreirao te TDove. Mozes jedan samo.