Quote:
Originally Posted by Chompy
you should use triggerserver(), as I recall that to trigger to serverside with triggeraction() the action needs to be named "Serverside" or something like that. It was something like that, I might be wrong though.
|
If it starts with "Server" it triggers the Control-NPC, otherwise you have to use "ServerSide" (exception to previous statement) to trigger weapons, or anything else for NPCs (e.g. "Buy" would trigger "onActionBuy").
EDIT: There is absolutely no reason to use clientside in that script at all, though. It would be much more secure and efficient serverside.