SHOW:
|
|
- or go back to the newest paste.
1 | AddEventHandler( "playerConnecting", function( playerName, setCallback ) | |
2 | - | SetTimeout( 800, function( bit32.band( source, 0xFFFF ) + 1 ) |
2 | + | local playerID = bit32.band( source, 0xFFFF ) + 1 |
3 | ||
4 | SetTimeout( 800, function() | |
5 | -- Code here | |
6 | -- Can use variable 'playerID' in here | |
7 | end) | |
8 | end) |