Quote:
Originally Posted by Bartjuh1992
yust use //#CLIENTSIDE
else use nothing
so dont do it with a triggeraction
|
You did not answer his questions.
Yes, both serverside and clientside are fine in classes.
To triggeraction to the serverside of an NPC, use an actionname starting with "server" (I think that's right, anyway - confirmation or correction, anyone?) and in this case, trigger onto the NPC's position. You might need to give the NPC a shape to trigger onto (use setshape on the serverside of your NPC), though.