Comradesniper 0 Posted June 25, 2007 Hey Just a quick question, what happens if you put an addaction command to a vehicle, inside a script called by another addaction? The action is on a building, and I know this gets set up for everyone on the server. But, if I create a vehicle using CreateVehicle inside this script, and use addAction on the created vehicle from inside this script, is this getting sent to all players? Will everyone see the action on the server, or will I have to update them somehow? Share this post Link to post Share on other sites
ArMoGaDoN 0 Posted June 27, 2007 Nope, the addAction command is local to the machine on which it is run. If you want everyone to see it, then every client must run their own addAction... publicVariable "A" up to the server, then get server to echo that back out using a different publicVariable "B" which the clients can catch and do their own addAction in response. Share this post Link to post Share on other sites
tj72 0 Posted June 30, 2007 If I have a player activating an Action on theri local machine but I need the server to run a script when that action is fired..How do I confirm that the Server is running the scripts. I assume I have to have all machines server/clients fire the script and then do an isServer check and exit all but the server. Does this mean I can just make the Action a publicVariable or is there some other way to quickly run the scripts on all machines or better yet just ther server straight away? Share this post Link to post Share on other sites