From d54053e1612ca9ca397a33e30a147ada8ee02779 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Fri, 8 Jan 2021 06:34:24 -0600 Subject: [PATCH] Add ped scale data (not functioning yet) --- scripts/server/class.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/server/class.js b/scripts/server/class.js index d635a847..5882769e 100644 --- a/scripts/server/class.js +++ b/scripts/server/class.js @@ -263,6 +263,7 @@ function initClassTable() { this.inJail = false; this.interior = 0; this.dimension = 0; + this.pedScale = toVector3(1.0, 1.0, 1.0); if(dbAssoc) { this.databaseId = dbAssoc["sacct_id"]; @@ -284,6 +285,7 @@ function initClassTable() { this.job = dbAssoc["sacct_job"]; this.interior = dbAssoc["sacct_int"]; this.dimension = dbAssoc["sacct_vw"]; + this.pedScale = toVector3(dbAssoc["sacct_scale_x"], dbAssoc["sacct_scale_y"], dbAssoc["sacct_scale_z"]); return; } }