Raised This Month: $ Target: $400
 0% 

Store last 5 disconnected users


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Vesden
Junior Member
Join Date: Apr 2009
Old 04-14-2009 , 04:52   Store last 5 disconnected users
Reply With Quote #1

I want to store player names and their IP if they disconnects from the server and see that info by a simple console cmd, for example

LastPlayer[1][32] = PlayerName1
LastPlayer[2][32] = PlayerName2
LastPlayer[3][32] = PlayerName3
LastPlayer[4][32] = PlayerName4
LastPlayer[5][32] = PlayerName5

and if a 6th player left the server will be like this

LastPlayer[1][32] = PlayerName2
LastPlayer[2][32] = PlayerName3
LastPlayer[3][32] = PlayerName4
LastPlayer[4][32] = PlayerName5
LastPlayer[5][32] = PlayerName6

and so on

with their playername and their ip's but i can't figure out how to do this.
any example?
Vesden is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode