View Single Post
  #7  
Old 07-19-2001, 06:09 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Yes peltwithbush is only clientside,
stuff like bombs, arrows and thrown
bushes are only accessible on client-side,
may be i need to add support on
server-side some day.

you could do something like

NPC Code:

if (created) {
setshape 1,32,32;
}
if (actionpelt) {
playerrupees+=2;
}
//#CLIENTSIDE
if (peltwithbush) {
triggeraction x+1,y+1,pelt;
}



But you must add more code, to make
sure the player really had the bush and is not
cheating/hacking.