I posted my host checking script on the semi-official WIP thread. Let me see if I can find it...
Edit:
(global boolean is_host false)
(script startup check_host
(object_create_anew host_check)
(sleep 450)
(if (= (volume_test_object host_check_vol host_check) 1)
(set is_host true)
)
)
Here's how to set it up. Make a vehicle, such as a hog and place it on a platform. Put a trigger volume over it so it just barley fits. Here's how it works. Clients will get a duplicate hog that will bounce of the one the server has. The client one will no longer be in the trigger volume and therefore be detected as the client. The host however will have the hog still there and detect itself and the host. You can change the sleep in the script to a shorter time if you need to. Add me on xfire if you need more help.
Edited by chrisk123999 on Jan 12, 2010 at 08:03 PM