Raised This Month: $32 Target: $400
 8% 

[CS:GO] Knife Swapper 1.6.5 [Updated 2015.12.07]


Post New Thread Reply   
 
Thread Tools Display Modes
mirrox
Junior Member
Join Date: Sep 2015
Location: Sweden
Old 02-17-2017 , 21:03   Re: [CS:GO] Knife Swapper 1.6.5 [Updated 2015.12.07]
Reply With Quote #161

Quote:
Originally Posted by hustl4 View Post
Hello

Great plugin! Just having one issue. After using !takeknife command the knife does not seem to be saving for the next round. It does save when player stays alive, but if player dies...back to default knife. I am using the default cvars.

I have also tried setting the knifeswapper_spawndelay to 0.1, 0.3, 0.8, 1.0, 2.0, etc but having the same problem with knife not being saved. Any ideas?

I am running sm verison 1.7.3-dev+5275 and the latest version of the plugin.

edit: here is log file error:

L 02/15/2016 - 21:06:27: Info (map "de_dust2") (file "errors_20160215.log")
L 02/15/2016 - 21:06:27: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 02/15/2016 - 21:06:27: [SM] Displaying call stack trace for plugin "knifeswapper.smx":
L 02/15/2016 - 21:06:27: [SM] [0] Line 189, /home/forums/content/files/2/4/0/5/2/0/150326.attach::OnPostPlayerSpawn()
Just change
Code:
HookEvent("round_start", OnPostRoundStart, EventHookMode_PostNoCopy);
HookEvent("player_spawn", OnPostPlayerSpawn, EventHookMode_PostNoCopy);
to
Code:
HookEvent("round_start", OnPostRoundStart, EventHookMode_Post);
HookEvent("player_spawn", OnPostPlayerSpawn, EventHookMode_Post);
mirrox is offline
mirrox
Junior Member
Join Date: Sep 2015
Location: Sweden
Old 02-17-2017 , 21:11   Re: [CS:GO] Knife Swapper 1.6.5 [Updated 2015.12.07]
Reply With Quote #162

Nice Plugin!

But I got a request to make. It would be awesome to make a menu that prints out every user that got a knife to pick from.
I've seen this thing on a few servers and I thinking about making this on my own so if I manage to do so is it okey with you that I reupload it?
mirrox is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 02-21-2017 , 18:00   Re: [CS:GO] Knife Swapper 1.6.5 [Updated 2015.12.07]
Reply With Quote #163

Quote:
Originally Posted by mirrox View Post
Just change
Code:
HookEvent("round_start", OnPostRoundStart, EventHookMode_PostNoCopy);
HookEvent("player_spawn", OnPostPlayerSpawn, EventHookMode_PostNoCopy);
to
Code:
HookEvent("round_start", OnPostRoundStart, EventHookMode_Post);
HookEvent("player_spawn", OnPostPlayerSpawn, EventHookMode_Post);
I fail to see how this would fix the stated problem.

If a player is not alive the server cant spawn their knife. It's pretty simple.
__________________
Neuro Toxin is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 02-21-2017 , 18:02   Re: [CS:GO] Knife Swapper 1.6.5 [Updated 2015.12.07]
Reply With Quote #164

Quote:
Originally Posted by mirrox View Post
Nice Plugin!

But I got a request to make. It would be awesome to make a menu that prints out every user that got a knife to pick from.
I've seen this thing on a few servers and I thinking about making this on my own so if I manage to do so is it okey with you that I reupload it?
I'm not really doing anything with this plugin.

I'm happy to make a repo on github if you want to pull request changes for this.
__________________
Neuro Toxin is offline
mirrox
Junior Member
Join Date: Sep 2015
Location: Sweden
Old 03-09-2017 , 00:52   Re: [CS:GO] Knife Swapper 1.6.5 [Updated 2015.12.07]
Reply With Quote #165

Ye sure
Sorry fore late answers not really that active on the forums
mirrox is offline
Nextars
Junior Member
Join Date: Nov 2017
Old 11-30-2020 , 22:05   Re: [CS:GO] Knife Swapper 1.6.5 [Updated 2015.12.07]
Reply With Quote #166

hey mate do you have weapon swapper as well ?
__________________
NEXTARS
Nextars 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 02:04.


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