Thread: No Reset Score
View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-01-2010 , 16:56   Re: Don't reset score with sv_restart
Reply With Quote #2

1. Check if player is connected before getting frags and deaths.

2. A player could have a negative frags from killing a teammate.
Code:
if(Frags[user] || Deaths[user])

3. If player disconnects, remove the save variable.

4. When player spawn, check if alive first.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline