Raised This Month: $32 Target: $400
 8% 

[CS:GO] Display image


Post New Thread Reply   
 
Thread Tools Display Modes
Author
kurumi
Junior Member
Join Date: Jan 2023
Plugin ID:
8361
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows admins display ingame images to players.
    Old 01-10-2023 , 13:48   [CS:GO] Display image
    Reply With Quote #1

    Commands:
    [ADMIN] sm_image <duration> <url> - display image to players on server.
    example: sm_image 50 animecorner.me/wp-content/uploads/2022/06/date-a-live-iv-episode-9-thumbnail-2.png

    [ADMIN] sm_clearimage - hide current image from all players.
    example: sm_clearimage

    [ANY USER] sm_climg - hide current image.
    example: sm_climg

    Attached Files
    File Type: smx DisplayImage.smx (3.9 KB, 199 views)
    File Type: sp Get Plugin or Get Source (DisplayImage.sp - 344 views - 2.1 KB)

    Last edited by kurumi; 01-10-2023 at 18:14. Reason: changed title
    kurumi is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 01-10-2023 , 22:13   Re: [CS:GO] Display image
    Reply With Quote #2

    Does win panel still have a second delay?
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334
    eyal282 is offline
    kurumi
    Junior Member
    Join Date: Jan 2023
    Old 01-11-2023 , 12:52   Re: [CS:GO] Display image
    Reply With Quote #3

    Quote:
    Originally Posted by eyal282 View Post
    Does win panel still have a second delay?
    No, I am using timers to create delay. If you need delay use show_survival_respawn_status
    kurumi is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 01-12-2023 , 07:16   Re: [CS:GO] Display image
    Reply With Quote #4

    Quote:
    Originally Posted by kurumi View Post
    No, I am using timers to create delay. If you need delay use show_survival_respawn_status
    I'm refering to the fact, in the past ( maybe in the present too ) sending the event of cs_win_... takes exactly one second until you see the message on screen.
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334
    eyal282 is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 01-12-2023 , 10:39   Re: [CS:GO] Display image
    Reply With Quote #5

    If you spam the command, you can create infinite timers and maybe crash the server
    __________________
    Ilusion9 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 01-12-2023 , 15:24   Re: [CS:GO] Display image
    Reply With Quote #6

    Changes in v1.1.0:
    • Fixed several bugs (as unclosed event handle).
    • Slightly optimized the code.
    PHP Code:
    //// DisplayImage 1.0.sp
    //
    // Z:\DisplayImage 1.0.sp(75) : warning 242: function "clearImageAdmin" should return an explicit value
    // Code size:         5156 bytes
    // Data size:         2740 bytes
    // Stack/heap size:      17496 bytes
    // Total requirements:   25392 bytes
    //
    // 1 Warning.
    //
    // Compilation Time: 0,23 sec
    // ----------------------------------------

    //// DisplayImage 1.1.0.sp
    //
    /// Code size:         5224 bytes
    // Data size:         2732 bytes
    // Stack/heap size:      16804 bytes
    // Total requirements:   24760 bytes
    //
    // Compilation Time: 0,2 sec
    // ---------------------------------------- 
    Attached Files
    File Type: sp Get Plugin or Get Source (DisplayImage 1.1.0.sp - 222 views - 2.1 KB)
    __________________

    Last edited by Grey83; 01-12-2023 at 15:25.
    Grey83 is offline
    rory
    Junior Member
    Join Date: Nov 2022
    Old 02-19-2023 , 02:42   Re: [CS:GO] Display image
    Reply With Quote #7

    Quote:
    Originally Posted by kurumi View Post
    Commands:
    [ADMIN] sm_image <duration> <url> - display image to players on server.
    example: sm_image 50 animecorner.me/wp-content/uploads/2022/06/date-a-live-iv-episode-9-thumbnail-2.png

    [ADMIN] sm_clearimage - hide current image from all players.
    example: sm_clearimage

    [ANY USER] sm_climg - hide current image.
    example: sm_climg

    Hello thanks for this plugin it works

    Can you make another type of this one like an ADS , or to show the image automatically and not to manually enter the codeand to show the images below the game not to the center because players cant see this way ?

    Thanks for the great work
    rory 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 16:05.


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