Quote:
Originally posted by fireball_dolphonia
this is for when u buy an item it takes the value down
if (playerenters){
item = item = 10;
}
if (playersays(Buy item)){
item = item - 1;
}
|
replace that with
NPC Code:
if(playerenters)
item=10;
if(playerchats&&strequals(#c,buy item))
item--;