GetPlayerLocale

From Onset Developer Wiki
Revision as of 16:47, 17 November 2019 by 28days (talk | contribs)
GetPlayerLocale

Type: Function
Context: Server
Introduced: v1.0

Description

Get the player localiaztion name.

Syntax

GetPlayerLocale(player)

Parameters

  • player
    The player identifier.

Return Value

  • Returns a string with the player's localozation name.

Example

AddEvent("OnPlayerJoin", function(playerid)
	AddPlayerChatToAll("[JOIN] "..GetPlayerName(playerd).." has joined from "..GetPlayerLocale(player))
end)

See also

__EDIT_ME__