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

Simple VIP Icon


Post New Thread Reply   
 
Thread Tools Display Modes
Author
condolent
AlliedModders Donor
Join Date: Jan 2016
Location: gc_sLocation;
Plugin ID:
7128
Plugin Version:
1.2.5
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Gives VIP players an VIP-icon above their player model.
    Old 05-26-2020 , 17:29   Simple VIP Icon
    Reply With Quote #1

    Github



    A very simple plugin that allows server operators to give VIP-players an icon above their player models.
    The flag for VIP is customizable in the config.

    A default icon is included, if you want to you can change it to your own!

    CVars
    Code:
    sm_vipicon_flag "a" The flag that players need to get the icon
    sm_vipicon_path "decals/vipicon/vip" The path to the icon
    Like I said, very basic. It doesn't do anything else, really!
    Attached Files
    File Type: zip VIP-Icon.zip (21.0 KB, 635 views)
    __________________

    Last edited by condolent; 05-30-2020 at 09:07.
    condolent is offline
    XHUNTERX
    Senior Member
    Join Date: Aug 2019
    Location: World
    Old 05-26-2020 , 19:42   Re: Simple VIP Icon
    Reply With Quote #2

    https://prnt.sc/soezmj

    vip icon is not visible

    Last edited by XHUNTERX; 05-26-2020 at 19:42.
    XHUNTERX is offline
    condolent
    AlliedModders Donor
    Join Date: Jan 2016
    Location: gc_sLocation;
    Old 05-26-2020 , 19:44   Re: Simple VIP Icon
    Reply With Quote #3

    Quote:
    Originally Posted by XHUNTERX View Post
    https://prnt.sc/soezmj

    vip icon is not visible
    1. Does the user have the correct adminflag?
    2.Did you setup fastdl to download the Icon to the players local filesystem?
    3. Any server logs?
    __________________

    Last edited by condolent; 05-26-2020 at 19:45.
    condolent is offline
    XHUNTERX
    Senior Member
    Join Date: Aug 2019
    Location: World
    Old 05-26-2020 , 20:58   Re: Simple VIP Icon
    Reply With Quote #4

    there are no errors in the log
    player has a flag
    icon files
    game server
    and
    uploaded to fast download server

    Last edited by XHUNTERX; 05-26-2020 at 20:59.
    XHUNTERX is offline
    raj kaul
    Senior Member
    Join Date: Mar 2018
    Location: www.lotgaming.xyz
    Old 05-27-2020 , 02:13   Re: Simple VIP Icon
    Reply With Quote #5

    plugin loaded
    fastdl and server sided file uploaded
    still your plugin not downloading those 2 files
    __________________
    raj kaul is offline
    raj kaul
    Senior Member
    Join Date: Mar 2018
    Location: www.lotgaming.xyz
    Old 05-27-2020 , 02:41   Re: Simple VIP Icon
    Reply With Quote #6



    after using sm downloader plugin ..i force to download those files and its working for some user and for some players still same default
    __________________
    raj kaul is offline
    condolent
    AlliedModders Donor
    Join Date: Jan 2016
    Location: gc_sLocation;
    Old 05-27-2020 , 05:28   Re: Simple VIP Icon
    Reply With Quote #7

    Quote:
    Originally Posted by XHUNTERX View Post
    there are no errors in the log
    player has a flag
    icon files
    game server
    and
    uploaded to fast download server
    Quote:
    Originally Posted by raj kaul View Post
    after using sm downloader plugin ..i force to download those files and its working for some user and for some players still same default
    Updated the plugin, adding the decal files to downloads table so sm_downloader won't be necessary.

    Also made it precache the decal onmapstart so it should all be working fine now.

    However this is sort of weird, works fine on my end and on the other servers that use this plugin
    __________________

    Last edited by condolent; 05-27-2020 at 05:28.
    condolent is offline
    LionKing
    Member
    Join Date: Jan 2017
    Location: Belgium
    Old 05-27-2020 , 05:32   Re: Simple VIP Icon
    Reply With Quote #8

    Maybe Precache models on mapstart?

    Code:
    public void OnMapStart() {
    	PrecacheModel("materials/decals/vipicon/vip.vmt", true);
    	PrecacheModel("materials/decals/vipicon/vip.vtf", true);	
    }
    __________________
    Community - The Lion's Den
    Website - Here
    Steam - Here
    Discord - LeonKong#6884
    LionKing is offline
    condolent
    AlliedModders Donor
    Join Date: Jan 2016
    Location: gc_sLocation;
    Old 05-27-2020 , 05:35   Re: Simple VIP Icon
    Reply With Quote #9

    Quote:
    Originally Posted by LionKing View Post
    Maybe Precache models on mapstart?

    Code:
    public void OnMapStart() {
    	PrecacheModel("materials/decals/vipicon/vip.vmt", true);
    	PrecacheModel("materials/decals/vipicon/vip.vtf", true);	
    }
    It's not a model, however:

    Quote:
    Originally Posted by condolent View Post
    Also made it precache the decal onmapstart so it should all be working fine now.
    __________________
    condolent is offline
    LionKing
    Member
    Join Date: Jan 2017
    Location: Belgium
    Old 05-27-2020 , 05:58   Re: Simple VIP Icon
    Reply With Quote #10

    Quote:
    Originally Posted by condolent View Post
    It's not a model, however:
    Woops, sorry did not see your post as I didn't refresh my page.
    __________________
    Community - The Lion's Den
    Website - Here
    Steam - Here
    Discord - LeonKong#6884
    LionKing 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 10:31.


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