View Single Post
  #6  
Old 12-14-2010, 09:58 AM
Entrok Entrok is offline
Registered User
Join Date: Sep 2009
Location: Sweden
Posts: 51
Entrok is on a distinguished road
Send a message via MSN to Entrok
Quote:
Originally Posted by oomey30 View Post
Hello, I need help with my server dev oomey30.
When you slash a bush no gralats appear. Here is the script.

function onCreated() {
showcharacter();
updategani();
dontblock();
}
function onUpdategani() {
updategani();
}

function updategani() {
temp.type = 1;
if (rupees>=100) temp.type = 4;
else if (rupees>=30) temp.type = 3;
else if (rupees>=5) temp.type = 2;

setcharani("gems", temp.type);
}

function onPlayerTouchsMe() {
player.rupees += rupees;
rupees = 0;
destroy();
}

I really hope someone can help out
Do you have gems.gani uploaded on the server? Try use '/find gems.gani' in RC.
Reply With Quote