Is there anyway for the system to only let the first people to access a certain variable?
For example, there is a super powerful weapon for the first player who find it. However, if two players find the weapon and send a getting weapon request to the server at the same time, who will get the weapon? Will they both get the weapon? Is there anyway to lock the variable immediately on the server after it is accessed by someone ?