Posted By: developerno1
help please....... - 06/26/07 07:01
hello guys ,
im a newbie and cant find any problem inthe code but sed gives a bunch of errors. please help..........
entity* right;
action player_right
{
right=my;
my.skin=skin_right
my.pan = 180;
if (my.shadow == off) { drop_shadow(); }
while ((right == null)) {wait (1);}
}
entity* left;
action player_left
{
left=my;
my.skin=skin_left
my.pan = 0;
if (my.shadow == off) { drop_shadow(); }
while ((left == null)) {wait (1);}
}
im a newbie and cant find any problem inthe code but sed gives a bunch of errors. please help..........
entity* right;
action player_right
{
right=my;
my.skin=skin_right
my.pan = 180;
if (my.shadow == off) { drop_shadow(); }
while ((right == null)) {wait (1);}
}
entity* left;
action player_left
{
left=my;
my.skin=skin_left
my.pan = 0;
if (my.shadow == off) { drop_shadow(); }
while ((left == null)) {wait (1);}
}