Because nothing there is preventing the client from running the script. Instead of looking at X, you need to check a condition that syncs. Since your talking about race, your gonna have to have a sync room, where you have a trigger volume, and a named vehicle.
(global boolean is_host false)
(script startup setup
(object_create_anew host_testing)
(object_pvs_set_camera PVS_camera)
(sleep 15)
(if (volume_test_object test_trigg host_testing) (begin
(set is_host true)
(object_create_anew_containing v)
))
)
Place the vehicle, host_testing, in this seperate sync room (you dont want players going there). You place a trigger volume, test_trigg around it. Not too big, not too small (you can resize the trigger volume and use the volume_test in sapiens console.) The idea, is that those fake client vehicles bounce the real vehicle away, and they realize they arent the host because the vehicle isnt where it should be. The host however, will only have one vehicle there, so they will be recognized as host.