View Single Post
  #9  
Old 09-11-2009, 11:22 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Chompy View Post
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.
__________________
Reply With Quote