Help for new Eventai[][]=
#1

Hi all,
I have errors:

Код:
C:\Documents and Settings\Vartotojas\Desktop\Old Stunting World\filterscripts\events.pwn(226) : error 001: expected token: ",", but found "]"
C:\Documents and Settings\Vartotojas\Desktop\Old Stunting World\filterscripts\events.pwn(226) : error 033: array must be indexed (variable "Pav")
C:\Documents and Settings\Vartotojas\Desktop\Old Stunting World\filterscripts\events.pwn(227) : error 001: expected token: ",", but found "]"
C:\Documents and Settings\Vartotojas\Desktop\Old Stunting World\filterscripts\events.pwn(228) : error 001: expected token: ",", but found "]"
Var:

Код:
new Koks, Prizas, Pav[128];
new Eventai[][]=
{
	{"Iљlikimo su Sawn-off shotgun", 10000, 1}, //26
	{"Iљlikimo su Micro Uzi (Mac 10)", 20000, 2}, //28
	{"Iљlikimo su Rpg", 5000, 3}, //35
	{"Iљlikimo su Country rifle", 15000, 4} //33
};
And using:

Код:
Pav = Eventai[random(sizeof(Eventai)][0];
	Prizas = Eventai[random(sizeof(Eventai)][1];
 	Koks = Eventai[random(sizeof(Eventai)][2];
Please help
Reply


Messages In This Thread
Help for new Eventai[][]= - by Stuneris - 09.10.2011, 08:56
Re: Help for new Eventai[][]= - by nilanjay - 09.10.2011, 09:01
Re: Help for new Eventai[][]= - by Karlip - 09.10.2011, 09:07
Re: Help for new Eventai[][]= - by Stuneris - 09.10.2011, 09:30
Re: Help for new Eventai[][]= - by Wesley221 - 09.10.2011, 09:33
Re: Help for new Eventai[][]= - by Stuneris - 09.10.2011, 09:34

Forum Jump:


Users browsing this thread: 2 Guest(s)