![]() |
Fshing Help
I made this fishing pole and then i tryed to make the script sells your fish so you can get money but no does anyone know why might be wrong?
|
nope :( not much we can do given our current information so.... *please hang up and try your call again*
|
<Riot>
The script that is causing errors would be helpful </Riot> |
well first you fix the script and than voila!
|
if(created) { Rodstock=30; }
if (playerenters) {message (#v(Rodstock) In Stock); } if (playerchats && strequals(#c,buy fishing rod) && playerrupees<99) {say2 Not Enough Money.; } if (playerchats && strequals(#c,buy fishing rod)) { if (Rodstock==0) { say2 No Rods In Stock.; } } if (playerchats && strequals(#c,buy fishing rod) && !hasweapon(Fishing Rod)) { if (playerrupees>=100 && Rodstock>0) {setplayerprop #c,*Bought Fishing Rod*; toweapons Fishing Rod; Rodstock=Rodstock-1; playerrupees=playerrupees-100; message (#v(Rodstock) In Stock); } } if (weaponfired && hasweapon(Fishing Rod) && onwater(playerx-1,playery-1)||onwater(playerx+1,playery+1)||onwater(playerx-1,playery+1)||onwater(playerx+1,playery-1)) { freezeplayer 5; playersprite=33; this.x=playerx; this.y=playery; if (playerdir=0) { this.x+=1; this.y-=1.4; } if (playerdir=1) { this.x+=0; this.y+=1.2} if (playerdir=2) { this.-+=.7; this.y+=1.2 } if (playerdir=3) { this.x+=2; this.y-=1.4} showimg 100,fishrod.png,this.x,this.y; changeimgpart 100,playerdir*20,0,20,35; freezeplayer 1; fishweight = int(random(1,5)); fishcatch = int(random(1,10)); if(fishcatch<=7) { } else { 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); say2 You got a #v(fishweight) pounder!; setstring this.fisher,#a; }} there is the script. |
Quote:
PHP Code:
|
Or like this...
NPC Code: |
So many errors.. Here I fixed the first 3 lines
NPC Code: |
please note
jsut a freindly note,
I am the original prozac, a totally different person form prozacboy666. |
yes i am not the prozac from san's my friend gave this account to me 3 years ago X_x
|
Quote:
|
i spent my last penny on getting my pw up. Psyker wanted $20 just for him to review it =/
|
-=Josey=-
Quote:
|
wounder what?
|
| All times are GMT +2. The time now is 11:44 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.