PDA

View Full Version : compiling error :(


Warz0rz
14th July 2005, 03:31
ok here is error what i get =
error, bad or missing expression in array index

and there the line where is error =
terro.Skins[i]=Texture'MyBlackSkin';

. this is the what i tryed to add

function terroristskins( r6terrorist terro, canvas C )
{

if ( bmodels==true )
{
terro.bunlit=true;
terro.Skins[i]=Texture'MyBlackSkin';
}
else
{
terro.bunlit=false;
terro.Skins[i]=Texture'MyBlackSkin';
}

}

anyone know what would be problem ?

frikos
14th July 2005, 10:41
you declared the "i" as a variable? :eek:

RuffianSoldier
14th July 2005, 11:19
btw that else is pointless.... unless you like having skinhack no matter what.....

Warz0rz
14th July 2005, 12:10
no prob anymore :classic: