mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
Added setName() to xPlayer class
This commit is contained in:
@@ -194,6 +194,10 @@ function CreateExtendedPlayer(player, accounts, inventory, job, loadout, name, l
|
||||
return self.name
|
||||
end
|
||||
|
||||
self.setName = function(newName)
|
||||
self.name = newName
|
||||
end
|
||||
|
||||
self.getLastPosition = function()
|
||||
return self.lastPosition
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user