Store last 5 disconnected users
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? |
Re: Store last 5 disconnected users
amx_last from admincmd.sma?
|
Re: Store last 5 disconnected users
My bad, i was using an old version of admincmd, i didn't replace it in the upgrading.
so I did not see the existence of that command thanks ehha |
| All times are GMT -4. The time now is 02:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.