LadyoftheLight (marilla_pm67) wrote in component_help,
LadyoftheLight
marilla_pm67
component_help

  • Mood:
  • Music:

Random userpics.

Hi, First I will thank you for the tutorials, with a little patience, I understand all of them, and I became the layer I want. Thanks.
I have just one big problem!!! I try to have Random Userpics, but, it doesn't work.


I put this : on the good place,


Then :

var string[] pic;
$pic[0]="http://www.livejournal.com/userpic/34500724/7583285"; # E/H Best Moment
$pic[1]="http://www.livejournal.com/userpic/34498604/7583285"; # Default
$pic[2]="http://www.livejournal.com/userpic/36023637/7583285"; # Jedi Temple
$pic[3]="http://www.livejournal.com/userpic/37734024/7583285";
$pic[4]="http://www.livejournal.com/userpic/38282240/7583285";
$pic[5]="http://www.livejournal.com/userpic/38282228/7583285";


var int randpic = rand(0, ((size $pic) - 1));



But when I compile I have an error. Seems like, I missed something like the print something ... please Help me.

Thanks.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 1 comment