PHP Code:
//#CLIENTSIDE
if (weaponfired && onwater(players[0].x,players[0].y)){
setani fishing,fishrod2.png;
freezeplayer 3;
player.rupees =+ int(random(1,5));
fishedweight = strtofloat(#s(fishedwieght))+fishweight;
setplayerprop #c,I got a fish ;
sleep 2;
}
when i fire the weapon near the water it works fine
but when i get the money
it goes to the number of rupees
whats wrong with it?
then goes back to my origional
so example
if ifire it
it changes my rupees to 3
1 second later
it changes back to 0