Raised This Month: $ Target: $400
 0% 

[CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag]


Post New Thread Reply   
 
Thread Tools Display Modes
Notifications
AlliedModders Donor
Join Date: Oct 2015
Old 08-01-2020 , 17:41   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1321

Quote:
Originally Posted by Kubus02 View Post
have a request to edit this plugin to unbind these buttons ,. ?
Open the SP in Notepad or something and remove lines 77 and 79,
RegConsoleCmd("buyammo1", CommandWeaponSkins);
RegConsoleCmd("buyammo2", CommandKnife);

Last edited by Notifications; 08-01-2020 at 17:41.
Notifications is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 08-02-2020 , 02:14   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1322

Quote:
Originally Posted by kgns View Post
i even encountered players having other random players admin rights, so i assumed somehow SteamIDs of connected players gets mixed up, thus the random players weapon skins and rank. it doesnt seem like a performance issue, because MySQL is built to handle millions of more data, and if it can query a random player's skins and give them to you, why should there be a performance problem querying your own data. no queries work in a timely fashion but i believe SteamIDs of players gets mixed up, as the queries for weapon skins, rankme data and admin details all query with SteamIDs
Clients are getting random skins is because your not resetting player arrays

You should put
Code:
 
				for(int i = 0; i < sizeof(g_WeaponClasses); i++)
				{
					g_iSkins[clientIndex][i] = 0;
					g_iStatTrak[clientIndex][i] = 0;
					g_iStatTrakCount[clientIndex][i] = 0;
					g_NameTag[clientIndex][i] = "";
					g_fFloatValue[clientIndex][i] = 0.0;
					g_iWeaponSeed[clientIndex][i] = -1;
				}
				g_iKnife[clientIndex] = 0;
In player connect or disconnect forwards
__________________
8guawong is online now
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 08-02-2020 , 07:03   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1323

Quote:
Originally Posted by 8guawong View Post
Clients are getting random skins is because your not resetting player arrays

You should put
Code:
 
				for(int i = 0; i < sizeof(g_WeaponClasses); i++)
				{
					g_iSkins[clientIndex][i] = 0;
					g_iStatTrak[clientIndex][i] = 0;
					g_iStatTrakCount[clientIndex][i] = 0;
					g_NameTag[clientIndex][i] = "";
					g_fFloatValue[clientIndex][i] = 0.0;
					g_iWeaponSeed[clientIndex][i] = -1;
				}
				g_iKnife[clientIndex] = 0;
In player connect or disconnect forwards
that is so correct! then we have to find out the reason why queries get delayed for all plugins (and then work all at the same time after the delay) and how the admin system gets mixed up sometimes so people with no admin rights come to be admins
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is online now
Kubus02
New Member
Join Date: Mar 2020
Old Yesterday , 10:08   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1324

Quote:
Originally Posted by Notifications View Post
Open the SP in Notepad or something and remove lines 77 and 79,
RegConsoleCmd("buyammo1", CommandWeaponSkins);
RegConsoleCmd("buyammo2", CommandKnife);
I removed it and it continues to work
Kubus02 is online now
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old Yesterday , 11:38   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1325

Quote:
Originally Posted by Kubus02 View Post
I removed it and it continues to work
Removed and compiled again? If you don't compile changes it doesn't work.
__________________
paulo_crash is offline
Kubus02
New Member
Join Date: Mar 2020
Old Today , 09:04   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1326

Quote:
Originally Posted by paulo_crash View Post
Removed and compiled again? If you don't compile changes it doesn't work.
I dont know how to compile this xD Can you help me?
Kubus02 is online now
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 09:45.


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