
07-09-2009, 01:35 AM
|
|
Registered User
|
Join Date: Jul 2008
Posts: 148
|
|
|
okay iv got another problem now
function onActionServerSide() {
if (params[0] == "caughtfish") {
player.rupees += int(random(1,5));
}
}
//#CLIENTSIDE
if (weaponfired && onwater(players[0].x,players[0].y)){
setani fishing,fishrod2.png;
freezeplayer 1;
setplayerprop #c,I got a #int pound fish ;
triggerserver("gui", name, "caughtfish");
sleep 2;
}
it says i caught a #int fish
not the int number
how would i do that |
|
|
|