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

[CSGO] Gloves


Post New Thread Reply   
 
Thread Tools Display Modes
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 01-08-2019 , 17:33   Re: [CSGO] Gloves
Reply With Quote #81

Quote:
Originally Posted by Sincronic View Post
Hello, i am using this plugin and is very cool, but it has a bug. U get invisible hands at the start of the round and u can't shoot ! U have to change it to knife or other guns like pressing "Q". it's a little annoing on multi 1v1 servers. Can u do something abut it ? Nice plugin, keep up to good work

Picture https://imgur.com/a/hqCBMsY
that problem is not related to this plugin. try to remove any other plugins that set player model or player arm model and try again. i cant make this plugin compatible with bazzillion plugins out there, instead it has natives that can be used to make other plugins compatible with this one if you want to use it
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
hoycieto
Senior Member
Join Date: Feb 2018
Old 01-17-2019 , 10:09   Re: [CSGO] Gloves
Reply With Quote #82

Would be added sm_gloves_inactive_days like in Weapons plugin?
hoycieto is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 01-18-2019 , 05:27   Re: [CSGO] Gloves
Reply With Quote #83

maybe, if gloves plugin ever needs an update
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
johi999
Junior Member
Join Date: Jan 2019
Old 01-22-2019 , 09:30   Re: [CSGO] Gloves
Reply With Quote #84

Still works flawless without any errors. Thank you so much!
johi999 is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 01-22-2019 , 09:30   Re: [CSGO] Gloves
Reply With Quote #85

Quote:
Originally Posted by johi999 View Post
Still works flawless without any errors. Thank you so much!
lol yw again
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-25-2019 , 15:50   Re: [CSGO] Gloves
Reply With Quote #86

I am using the latest version of the plugin, I recently started showing the following error in the server log:
Code:
L 01/25/2019 - 14:54:29: [gloves.smx] Query failed! column steamid is not unique
L 01/25/2019 - 15:23:07: [gloves.smx] Query failed! column steamid is not unique
L 01/25/2019 - 15:23:18: [gloves.smx] Query failed! column steamid is not unique
L 01/25/2019 - 16:50:18: [gloves.smx] Query failed! column steamid is not unique
In case I use SQLite for the plugin. That would be normal, would it have some way of correcting?
paulo_crash is offline
arcticx2
Senior Member
Join Date: Nov 2011
Old 01-25-2019 , 16:34   Re: [CSGO] Gloves
Reply With Quote #87

Quote:
Originally Posted by paulo_crash View Post
I am using the latest version of the plugin, I recently started showing the following error in the server log:
Code:
L 01/25/2019 - 14:54:29: [gloves.smx] Query failed! column steamid is not unique
L 01/25/2019 - 15:23:07: [gloves.smx] Query failed! column steamid is not unique
L 01/25/2019 - 15:23:18: [gloves.smx] Query failed! column steamid is not unique
L 01/25/2019 - 16:50:18: [gloves.smx] Query failed! column steamid is not unique
In case I use SQLite for the plugin. That would be normal, would it have some way of correcting?
make steamid unique !
arcticx2 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-26-2019 , 13:36   Re: [CSGO] Gloves
Reply With Quote #88

Quote:
Originally Posted by arcticx2 View Post
make steamid unique !
Sorry, could you explain better, how to make steamid unique?
paulo_crash is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 01-26-2019 , 14:59   Re: [CSGO] Gloves
Reply With Quote #89

Quote:
Originally Posted by paulo_crash View Post
Sorry, could you explain better, how to make steamid unique?
Code:
ALTER TABLE *gloves ADD UNIQUE (steamid);
Taken from the very first Google search of "sql make column unique"

Change the * from gloves to become the content of your "sm_gloves_table_prefix" cvar.

So e.g. if "sm_gloves_table_prefix" is set to "hamburger_", you would do:

Code:
ALTER TABLE hamburger_gloves ADD UNIQUE (steamid);
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Sw33T3R
AlliedModders Donor
Join Date: Mar 2014
Old 01-30-2019 , 06:59   Re: [CSGO] Gloves
Reply With Quote #90

Hello @kgns
How can i add a delay for equipping gloves on player start?
I tried by adding a timer but gloves are not added to player

Code:
public void Event_PlayerSpawn(Event event, const char[] name, bool dontBroadcast)
{
	CreateTimer(3.0, LoadStuff);
}

public Action LoadStuff(Handle timer, Event event)
{
	int clientIndex = GetClientOfUserId(event.GetInt("userid"));
	if(IsValidClient(clientIndex))
	{
		GivePlayerGloves(clientIndex);
	}
}
Sw33T3R is offline
Reply


Thread Tools
Display Modes

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 07:37.


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