Thread: Few questions
View Single Post
  #8  
Old 08-28-2002, 04:03 PM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
I don't like toinventory, because it destroys the NPC and the image won't be saved when disconnecting.
You could try this, although I haven't tested it. (I don't have access to a script-server).

NPC Code:

// this part will be executed server-side:
if (created) {
setshape 1,32,32; // whatever...I just think you need it serverside
// for playertouchsme
}
if (playertouchsme) {
set gotwhatever;
toweapons whatever;
}
//#CLIENTSIDE
if (playertouchsme) {
hidelocal;
play extra.wav;
}

__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]