
08-09-2002, 01:30 AM
|
|
Banned
|
Join Date: Jul 2002
Location: Oregon USA <-- this place sux0rs
Posts: 113
|
|
why doesnt this work?
|
if (keypressed) {
setarray rockthrow,3;
rockthrow.[0]=3.14/2;
rockthrow.[1]=3.14;
rockthrow.[2]=3.14*3/2;
rockthrow.[3]=0;
if (this.on==1&&strequals(#p(1),y)) {shoot playerx,playery,playerz,rockthrow.[playerdir],1,0,shoot,wbrock.gif;}
}
i want my little man to throw a rock the direction that hes facing but i dont think i did it right |
|
|
|