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...