Jump to content
Sign in to follow this  
Persian MO

Player on dedicated server

Recommended Posts

 
if (!isServer) exitWith {}; 
if ((target knowsabout player) > 2.0)  then { ...

This script working on dedicated server?

Edited by Persian MO

Share this post


Link to post
Share on other sites

The first line will exit the script if it is not the server. However, player is not defined on a dedicated server. That's not going to work.

Share this post


Link to post
Share on other sites
The first line will exit the script if it is not the server. However, player is not defined on a dedicated server. That's not going to work.

Thanks.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×