Thread: Gralats ...
View Single Post
  #2  
Old 09-20-2001, 06:49 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Re: Gralats ...

Quote:
Originally posted by nyghtGT
Why wont this work ???

// NPC made by Nyght -GT-
if (created) {
showcharacter;
updategani();
}
if (updategani) {
updategani();
}
function updategani() {
type = 1;
if (rupees>=100) type = 4;
else if (rupees>=30) type = 3;
else if (rupees>=5) type = 2;

setcharani gralats,#v(type);
}
if (playertouchsme) {
playerrupees += rupees;
rupees = 0;
destroy;
}

Please help ....
Use it freely, I dont care, just tell me why it wont work ...
that npc really looks like it is stefans code (well pretty close) for the gralat script...

it wont work unless you have a p2p server and it is incoded in the npc server...

if you have a non p2p server you have to add things like to see if the person layed a rupee...
__________________
Thanks,
-KJL
Reply With Quote