Hello There, Guest! Login or Register


Savehandler (weapons) - Alternate fix
#1
I made myself a fully working weapon savehandler for my clan server a while ago.
There's no weird bugs occurring like on LVP on every single reconnect (e.g. spas instead of sawnoffs, colts instead of deagle). :(

It's not even complicated to script either.
However, there's some downfalls with this though.

  1. 1. Only spawnweapons will be saved, as they save upon purchase.
  2. 2. On reconnect (crash/disc), the player will have the same ammo as bought, not as when he disconnected.

IMO, these are nothing to the current annoying bugs.
People have complained for so long about this as well, it has never been fixed to work properly.
Thus I think this could be an alternate solution.

Please post your opinions.
Reply
#2
Port it over!
Reply
#3
Quote:    * 1. Only spawnweapons will be saved, as they save upon purchase.

That's not how it is atm then?
Reply
#4
No, from what I heard they save upon disconnect.
GetPlayerWeaponData();

But after you said that I'm unsure, I haven't checked the source code yet.
Reply
#5
Oh right, I see what you mean now. You're right.
Reply