Raised This Month: $51 Target: $400
 12% 

[CS:GO] Server Info


Post New Thread Reply   
 
Thread Tools Display Modes
Author
EmreBulut
Junior Member
Join Date: Sep 2015
Location: Turkey, Istanbul
Plugin ID:
5023
Plugin Version:
1.1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Shows info about server.
    Old 01-29-2016 , 08:58   [CS:GO] Server Info
    Reply With Quote #1

    Hello guys,

    I would like to introduce you to my first plugin.

    Description:
    When players type sm_info they can see server name, server ip, online admins, current map, next map, timeleft.

    Commands:
    • sm_info - Shows info.

    Compling:
    You need to get multicolors include from here.

    Contact me:
    http://steamcommunity.com/profiles/76561198164458335

    Changelog:
    Quote:

    2016-01-29 (v1.1)

    * Fixed admins not showing correctly. (Thanks to CaptainNervous for help.)

    2016-01-29 (v1.0)

    * Initial release.
    Screenshot:

    Attached Files
    File Type: sp Get Plugin or Get Source (sm_info.sp - 1443 views - 2.5 KB)
    File Type: smx sm_info.smx (13.8 KB, 874 views)

    Last edited by EmreBulut; 01-29-2016 at 09:58. Reason: Version 1.1.0
    EmreBulut is offline
    mazdarx8
    Veteran Member
    Join Date: Aug 2014
    Old 01-29-2016 , 09:00   Re: [CS:GO] Server Info
    Reply With Quote #2

    Do you have a screen?
    mazdarx8 is offline
    EmreBulut
    Junior Member
    Join Date: Sep 2015
    Location: Turkey, Istanbul
    Old 01-29-2016 , 09:09   Re: [CS:GO] Server Info
    Reply With Quote #3

    Quote:
    Originally Posted by mazdarx8 View Post
    Do you have a screen?
    Added to first post.
    EmreBulut is offline
    nieznajomy
    Junior Member
    Join Date: Jan 2016
    Location: Poland
    Old 01-29-2016 , 13:08   Re: [CS:GO] Server Info
    Reply With Quote #4

    After a slight editing plugin (translator) pops up an error when compiling...

    Quote:
    plugin.sp(2) : fatal error 183: cannot read from file: "multicolors"
    Compilation aborted. 1 Error.
    nieznajomy is offline
    EmreBulut
    Junior Member
    Join Date: Sep 2015
    Location: Turkey, Istanbul
    Old 01-29-2016 , 13:16   Re: [CS:GO] Server Info
    Reply With Quote #5

    You need to get multicolors include from here.
    https://forums.alliedmods.net/showthread.php?t=247770
    EmreBulut is offline
    Xenoadria
    Member
    Join Date: Oct 2016
    Old 11-01-2016 , 09:19   Re: [CS:GO] Server Info
    Reply With Quote #6

    Hey man. Great plugin. Just a question. Can I make this work like when player joins the server, 10-15 seconds after his join that server info pops up for him.

    Hope you understand what I mean.

    Best regards
    Xenoadria is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 11-02-2016 , 14:22  
    Reply With Quote #7

    Xenoadria, try this version (need SM1.8 to compile)
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_info.sp - 331 views - 2.5 KB)
    File Type: smx sm_info.smx (14.5 KB, 527 views)
    __________________

    Last edited by Grey83; 11-02-2016 at 14:30.
    Grey83 is offline
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 11-02-2016 , 17:50   Re: [CS:GO] Server Info
    Reply With Quote #8

    Good job, really useful, thanks but, i've found out a little bug, where VIP users (that has a flag) appear as admins on the "admins online" line, can we change the flag to make it only recognize "b" flag?

    Last edited by Lannister; 11-02-2016 at 18:04.
    Lannister is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 11-02-2016 , 23:35   Re: [CS:GO] Server Info
    Reply With Quote #9

    Lannister, You need to change line 60 to
    Quote:
    if(GetUserFlagBits(i) & ADMFLAG_GENERIC)
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_info_flag_b.sp - 301 views - 2.4 KB)
    __________________

    Last edited by Grey83; 11-03-2016 at 12:37.
    Grey83 is offline
    Xenoadria
    Member
    Join Date: Oct 2016
    Old 11-06-2016 , 18:46   Re: [CS:GO] Server Info
    Reply With Quote #10

    Quote:
    Originally Posted by Grey83 View Post
    Xenoadria, try this version (need SM1.8 to compile)
    Thank you very much! It works just as planned. <3
    Xenoadria is offline
    Reply



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


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