GetPlayerLocale: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 18: Line 18:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:PlayerFunctions}}

Revision as of 16:51, 16 December 2019

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

Template:PlayerFunctions