View Full Version : Remote Event Payloads
quixote
May 28th, 2007, 09:19 PM
Why is it that when you send a remote event and specify payload one as a certain string, it is received on the remote machine as payload 2 and payload 1 is a number?
Rob H
May 29th, 2007, 06:30 PM
I'm not 100% sure, but the first payload is probably either a sequence number or the socket number. That's probably a question for John.
quixote
May 30th, 2007, 12:38 AM
OK, thanks. That really confused the hell out of me for a while. Maybe the UI should reflect that pld1 is already being used by the system. I was getting a number around 2500 for an equation that should have been between 0 and 255. (using tostring, of course. ;) )
Ron
June 18th, 2007, 08:25 AM
That is the socket number indeed. This can be used to answer back from lua if needed.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.