From 004b782075f740d7f9a287376d94354e8d2f0c44 Mon Sep 17 00:00:00 2001 From: Arctos2win <116841243+Arctos2win@users.noreply.github.com> Date: Sat, 18 Nov 2023 19:01:47 +0100 Subject: [PATCH] tonumber a value --- [core]/es_extended/server/classes/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 633d3a11a..17f110ba7 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -462,7 +462,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, name = jobObject.name, label = jobObject.label, - grade = grade, + grade = tonumber(grade), grade_name = gradeObject.name, grade_label = gradeObject.label, grade_salary = gradeObject.salary,