AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Simple VIP Icon (https://forums.alliedmods.net/showthread.php?t=324770)

condolent 05-26-2020 17:29

Simple VIP Icon
 
1 Attachment(s)
Github

https://imagehost.imageupload.net/20...27/vipicon.png

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!

XHUNTERX 05-26-2020 19:42

Re: Simple VIP Icon
 
https://prnt.sc/soezmj

vip icon is not visible

condolent 05-26-2020 19:44

Re: Simple VIP Icon
 
Quote:

Originally Posted by XHUNTERX (Post 2702482)
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?

XHUNTERX 05-26-2020 20:58

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

raj kaul 05-27-2020 02:13

Re: Simple VIP Icon
 
plugin loaded
fastdl and server sided file uploaded
still your plugin not downloading those 2 files

raj kaul 05-27-2020 02:41

Re: Simple VIP Icon
 
http://lotgaming.xyz/lotvipplugintest.jpg

after using sm downloader plugin ..i force to download those files and its working for some user and for some players still same default

condolent 05-27-2020 05:28

Re: Simple VIP Icon
 
Quote:

Originally Posted by XHUNTERX (Post 2702493)
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 (Post 2702524)
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

LionKing 05-27-2020 05:32

Re: Simple VIP Icon
 
Maybe Precache models on mapstart?

Code:

public void OnMapStart() {
        PrecacheModel("materials/decals/vipicon/vip.vmt", true);
        PrecacheModel("materials/decals/vipicon/vip.vtf", true);       
}


condolent 05-27-2020 05:35

Re: Simple VIP Icon
 
Quote:

Originally Posted by LionKing (Post 2702550)
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 (Post 2702549)
Also made it precache the decal onmapstart so it should all be working fine now.


LionKing 05-27-2020 05:58

Re: Simple VIP Icon
 
Quote:

Originally Posted by condolent (Post 2702551)
It's not a model, however:

Woops, sorry did not see your post as I didn't refresh my page.


All times are GMT -4. The time now is 12:07.

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