View Single Post
  #14  
Old 01-07-2012, 10:18 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Emera View Post
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.
__________________
Reply With Quote