function sendKey ( id ) key = id updateSync ( ) end function sampev . onSendPlayerSync ( data ) if key then data . keysData = key key = nil end end