Raised This Month: $37 Target: $400
 9% 

[TF2Jail] Player status


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Stropy
Senior Member
Join Date: Feb 2016
Old 08-09-2017 , 13:45   [TF2Jail] Player status
Reply With Quote #1

Hey,
I got an plugin idea, but idk how to write plugins so I'll just write it here. The idea is pretty simple: you type !status (or any other command) to the chat and the server will print out all alive players on the server and their status which is given by TF2jail natives plugin, example:
PHP Code:
Player69: !status
Server output

Player0 (Guard)
Player1 (Warden)
Player2(Freeday)
Player3(Rebel)
Player4(Non-Rebel)
Player5(Non-rebel)
Player6(Guard)
Player7(Rebel)
Player8(Freeday
Thanks for any help!
Stropy is offline
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 08-10-2017 , 06:10   Re: [TF2Jail] Player status
Reply With Quote #2

In the process of coding this, will be done relatively soon.
ThatKidWhoGames is offline
Stropy
Senior Member
Join Date: Feb 2016
Old 08-10-2017 , 09:36   Re: [TF2Jail] Player status
Reply With Quote #3

Nice, looking forward for it!
Stropy is offline
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 08-10-2017 , 18:31   Re: [TF2Jail] Player status
Reply With Quote #4

Hey, sorry for the long wait but here is the plugin. I tested it and it works 100% for me. Let me know if you encounter any bugs.
Attached Files
File Type: sp Get Plugin or Get Source (TF2Jail_Status.sp - 87 views - 2.1 KB)
File Type: smx TF2Jail_Status.smx (11.2 KB, 79 views)
ThatKidWhoGames is offline
Stropy
Senior Member
Join Date: Feb 2016
Old 08-11-2017 , 03:38   Re: [TF2Jail] Player status
Reply With Quote #5

works great, thanks alot!

EDIT: Can you make it to show also freedays? I saw something in the code about freedays, but it still shows Non-rebel for players with freeday

Last edited by Stropy; 08-11-2017 at 04:17.
Stropy is offline
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 08-12-2017 , 11:53   Re: [TF2Jail] Player status
Reply With Quote #6

Quote:
Originally Posted by Stropy View Post
works great, thanks alot!

EDIT: Can you make it to show also freedays? I saw something in the code about freedays, but it still shows Non-rebel for players with freeday
Sadly, this is an issue with the TF2Jail plugin not properly giving the status of if a client has freeday or not. Anyways besides that, I have updated the plugin with better text colors and added "List of alive players:" to the top of the message.
Attached Files
File Type: sp Get Plugin or Get Source (status.sp - 82 views - 2.1 KB)
File Type: smx status.smx (11.0 KB, 82 views)

Last edited by ThatKidWhoGames; 08-12-2017 at 11:53.
ThatKidWhoGames is offline
Reply


Thread Tools
Display Modes

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 23:08.


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