Raised This Month: $91 Target: $400
 22% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
RELLIX
New Member
Join Date: Aug 2019
Old 08-12-2019 , 17:41   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #871

Hi, i have a question. Can i add more commands to the plugin? For example, if someone were to type in "!skins" they would get the skins menu and if they were to type knife in another language they would get the knife menu and so on.

If I can do this, can anyone tell me how and which file to edit?

I tried to edit the .sp file but nothing happens. This is what I did:

RegConsoleCmd("buyammo1", CommandWeaponSkins);
RegConsoleCmd("sm_ws", CommandWeaponSkins);
RegConsoleCmd("buyammo2", CommandKnife);
RegConsoleCmd("sm_knife", CommandKnife);
RegConsoleCmd("sm_nametag", CommandNameTag);
RegConsoleCmd("sm_wslang", CommandWSLang);
RegConsoleCmd("sm_skins", CommandWeaponSkins);
RegConsoleCmd("sm_skin", CommandWeaponSkins);
RegConsoleCmd("sm_knives", CommandKnife);
RELLIX is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 08-14-2019 , 13:00   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #872

Quote:
Originally Posted by RELLIX View Post
Hi, i have a question. Can i add more commands to the plugin? For example, if someone were to type in "!skins" they would get the skins menu and if they were to type knife in another language they would get the knife menu and so on.

If I can do this, can anyone tell me how and which file to edit?

I tried to edit the .sp file but nothing happens. This is what I did:

RegConsoleCmd("buyammo1", CommandWeaponSkins);
RegConsoleCmd("sm_ws", CommandWeaponSkins);
RegConsoleCmd("buyammo2", CommandKnife);
RegConsoleCmd("sm_knife", CommandKnife);
RegConsoleCmd("sm_nametag", CommandNameTag);
RegConsoleCmd("sm_wslang", CommandWSLang);
RegConsoleCmd("sm_skins", CommandWeaponSkins);
RegConsoleCmd("sm_skin", CommandWeaponSkins);
RegConsoleCmd("sm_knives", CommandKnife);
You approached it correctly, however the .sp files are the source files. You will need to recompile the plugin.
__________________
sneaK is offline
DoMaxiHa
New Member
Join Date: Aug 2019
Old 08-14-2019 , 22:04   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #873

Hey,

i installed the plugin on a local server. (testing)

I set FollowGuidelines to no. Still, if i select a skin, it gives me a "new" weapon but with the same skin. So basically the skin does not change. Same goes for knife.

Anyone has a clue ?

SM Ver. 1.9
MM: 1.10
PTah: 1.10
DoMaxiHa is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 08-21-2019 , 03:27   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #874

Quote:
Originally Posted by DoMaxiHa View Post
Hey,

i installed the plugin on a local server. (testing)

I set FollowGuidelines to no. Still, if i select a skin, it gives me a "new" weapon but with the same skin. So basically the skin does not change. Same goes for knife.

Anyone has a clue ?

SM Ver. 1.9
MM: 1.10
PTah: 1.10
@Shane1390 i have the same problem with your branch of this plugin on my local server
but after i switch to kgns's precompiled plugin problem is solved
__________________

Last edited by 8guawong; 08-21-2019 at 03:27.
8guawong is offline
Shane1390
Member
Join Date: Apr 2018
Old 08-21-2019 , 07:35   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #875

Quote:
Originally Posted by 8guawong View Post
@Shane1390 i have the same problem with your branch of this plugin on my local server
but after i switch to kgns's precompiled plugin problem is solved
Issue with the SQL work. Not sure if the queries are possible in SQLite.
Shane1390 is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 08-21-2019 , 18:38   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #876

Quote:
Originally Posted by Shane1390 View Post
Issue with the SQL work. Not sure if the queries are possible in SQLite.
ok can confirm
works on my live server with mysql
__________________
8guawong is offline
AphoticNZ
Junior Member
Join Date: Aug 2019
Old 08-25-2019 , 07:43   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #877

Is there a way to turn off the > and < binds without changing the plugin?
AphoticNZ is offline
Cruze
Veteran Member
Join Date: May 2017
Old 08-25-2019 , 09:42   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #878

Quote:
Originally Posted by AphoticNZ View Post
Is there a way to turn off the > and < binds without changing the plugin?
Here you go.

Version 1.4.0
Attached Files
File Type: zip weapons-v1.4.0.zip (1.54 MB, 46 views)
__________________
Taking paid private requests! Add me on steam!

Discord: Cruze#4947 | AlliedModders Releases | Github | Steam | PayPal

Last edited by Cruze; 08-25-2019 at 09:43.
Cruze is offline
lolface992
New Member
Join Date: Aug 2019
Old 08-27-2019 , 07:09   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #879

Plugin works for me, but it doesn't change skins immediately.
1) Player needs to die and after respawning the weapon skin changes.
2) Wait for the next round and weapons skin changes.
Any solutions?
lolface992 is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 08-27-2019 , 08:37   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #880

Quote:
Originally Posted by lolface992 View Post
Plugin works for me, but it doesn't change skins immediately.
1) Player needs to die and after respawning the weapon skin changes.
2) Wait for the next round and weapons skin changes.
Any solutions?
fix your database or your database configuration
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns 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 18:38.


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