View Single Post
  #1  
Old 08-09-2002, 01:30 AM
zorakid2001 zorakid2001 is offline
Banned
Join Date: Jul 2002
Location: Oregon USA <-- this place sux0rs
Posts: 113
zorakid2001 is on a distinguished road
Send a message via ICQ to zorakid2001 Send a message via AIM to zorakid2001
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
Reply With Quote