Thread: [CSGO] Gloves
View Single Post
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 02-20-2020 , 00:38   Re: [CSGO] Gloves
Reply With Quote #128

Quote:
Originally Posted by zo6zo6 View Post
can somebody compile this plugin with the following code in it?

i know nothing about coding and i cant compile it myself

i have the bug shown in this video and the author of the store gave me this code to fix it

video:
https://youtu.be/jOi3k0S4K8Q

PHP Code:
public Action Store_OnSetPlayerSkinArms(int client, const char[] arms)
{
    if (
CheckPlayerHasGloves(client)) // this check define in your glove plugin
    
{
        return 
Plugin_Handled;
    }
    return 
Plugin_Continue;

Quote:
Originally Posted by kgns View Post
Notes
  • If you are using Custom Player OR Arms Models on your server, you have to modify the plugin that does the model changing, and make it use Gloves_SetArmsModel native function instead. Or your players arms will be invisible if they do not use any gloves.
    ...
tell the author of your store plugin to check this plugins natives and add support for this gloves plugin if he wants gloves to work. there are natives released just for this problem
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline