Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getPlayerStats ( thePlayer, theStat )
- if ( isElement( thePlayer ) ) then
- if ( stats[thePlayer] ) and ( stats[thePlayer][theStat] ) then
- return fromJSON(stats[thePlayer][theStat])
- else
- return false
- end
- else
- return false
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement