Quote:
Originally Posted by Emera
Updated it a little bit. Added a new feature. If a player is already selected by another player, they can't warp then until the other player deselects them. It's to stop a player double warped really.
|
It's not going to work. You can't access or change another player's client. variables clientside. Also, try to be consistent with using the temp. prefix.
Also, there's no reason to store the account of the player you've selected in a client. var. Store is as an attribute of the weapon (this.). It's also a bit silly to run a loop and then wait for it to get to the selected player before warping them.