Thread: Fishing Rod
View Single Post
  #1  
Old 02-17-2002, 09:46 PM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
Fishing Rod

Zell wanted this so I figured a lot more of you probably have no idea. Here is a stupid stupid fishing pole made a long time ago. It sucks now and thats why im giving it away just to give you guys an idea.

if (created) {
setcharprop #c,Fishing RoD;
}
if (playerenters) {
toweapons Fishing RoD;
}
if (weaponfired && onwater(players[0].x,players[0].y)){
setani fishing,fishrod2.png;
freezeplayer 3;
fishweight = int(random(1,10));
fishedweight = strtofloat(#s(fishedweight))+fishweight;
if (fishedweight>100) fishedweight = 150;
setstring fishedweight,#v(fishedweight);
setstring fishedsize,#v(strtofloat(#s(fishedsize))+this.size );
setstring client.fishedweight,#s(fishedweight);
setplayerprop #c,I got a #v(fishweight) pounder!;
sleep 2;
setplayerprop #c,I now have #s(fishedweight) lbs of fish;
setstring this.fisher,#a;
}
if (weaponfired && !onwater(players[0].x,players[0].y)){
setplayerprop #c,I cant fish here;
}

It may need more stuff, i just copy pasted the code out of the fishing pole on my level
__________________

Check out the development at:
http://razza.org/lordhelmut/FantasyTales/index
Reply With Quote