Skip to content

ESX.SavePlayer

ESX.SavePlayer(xPlayer, cb)

This function saves the player to database. It is async, and a function (optional) is invoked once saving is complete.

Arguments

Argument Data Type Optional Default Value Explanation
xPlayer number No - An ESX player
cb function Yes - Callback function