mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 13:56:02 +01:00
feat(client): new update character event
This commit is contained in:
@@ -73,6 +73,11 @@ RegisterNetEvent("ND:setCharacter", function(character)
|
||||
NDCore.SelectedCharacter = character
|
||||
end)
|
||||
|
||||
-- Update main character info.
|
||||
RegisterNetEvent("ND:updateCharacter", function(character)
|
||||
NDCore.SelectedCharacter = character
|
||||
end)
|
||||
|
||||
-- Updates last lcoation.
|
||||
RegisterNetEvent("ND:updateLastLocation", function(location)
|
||||
NDCore.SelectedCharacter.lastLocation = location
|
||||
|
||||
Reference in New Issue
Block a user