probably missing "set flagowner objnull" and / or "setflagside resistance or West or West" somewhere
or at the very least the lines arent being run
to debug, find where the flag owner is set to objnull and the flagside is reset to (resistance, east or west, depending who took the flag, or east or west whoever, and add a hint line
you should see the hint line display, then at least you know that portion of code is being run
check whether it ios being run locally on your client or on the server
eg
?(local server):
?!(local server):
?(local player):
it may be that the server is running the setflagowner objnull, or just the clients and therefore something is happening on 1 machine and not another
Those tips should help you to solve the problems