Advertisement
LucasRed

VCMP IP onPlayerPart

May 4th, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. // On top of the script, out of function...
  2. i_IP <- {};
  3.  
  4. function onPlayerJoin(player) {
  5.     i_IP.rawset(player.ID,player.IP);
  6. }
  7.  
  8. function onPlayerPart( player, reason ) {
  9.     print( i_IP.rawget(player.ID) );
  10.     i_IP.rawdelete(player.ID);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement