Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-09-2009, 01:12 AM
GULTHEX GULTHEX is offline
Registered User
Join Date: Jul 2008
Posts: 148
GULTHEX can only hope to improve
Smile help with my script

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
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.