Add ped scale data (not functioning yet)

This commit is contained in:
Vortrex
2021-01-08 06:34:24 -06:00
parent dfd767a4de
commit d54053e161

View File

@@ -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;
}
}