SA-MP Forums Archive
help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help (/showthread.php?tid=180906)



help - tarmo - 03.10.2010

Код:
C:\Users\tarmo\Desktop\u1.pwn(11871) : error 022: must be lvalue (non-constant)
Код:
    	for(new td; td < sizeof(ToiduDraw); td++)  (line 11871)
	{
		ToiduDraw[td] = TextDrawCreate(544, 30, " ");

		SpeedDraw[td] = TextDrawCreate(300.0, 300.0, "Kiirus: x km/h Numbrim2rk: -");
		TextDrawUseBox(SpeedDraw[td], 1);

		InfoBar[td] = TextDrawCreate(200.0,418.0,":)"); //minX = 120 // 330
		TextDrawAlignment(InfoBar[td],1);
		TextDrawUseBox(InfoBar[td],1);
		TextDrawBoxColor(InfoBar[td],0x00000050);
		TextDrawTextSize(InfoBar[td],640.0,480.0);
		TextDrawFont(InfoBar[td],1);
		TextDrawSetOutline(InfoBar[td],0);
	}
	print("DEBUG 2");
	return 1;

}



Please helmp me


Re: help - tarmo - 03.10.2010

up!!!!!!!!!!!!!!!!


Re: help - MadeMan - 03.10.2010

What is ToiduDraw ?


Re: help - tarmo - 03.10.2010

toidudraw is food system

this is shows how many you hungry.


Re: help - MadeMan - 03.10.2010

How do you create it in script?


Re: help - Conroy - 03.10.2010

pawn Код:
for(new td; td < MAX_PLAYERS; td++)  (line 11871)



Re: help - tarmo - 03.10.2010

Код:
C:\Users\tarmo\Desktop\u1.pwn(11871) : error 022: must be lvalue (non-constant)


for(new td; td < MAX_PLAYERS; td++)



Re: help - tarmo - 03.10.2010

http://pastebin.com/KJwvYHxR
all code


Re: help - bigcomfycouch - 03.10.2010

http://pastebin.com/cafE0Ds6