GetServerName

From Onset Developer Wiki
Revision as of 10:03, 12 December 2019 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetServerName

Type: Function
Context: Server
Introduced: v1.0

Description

Gets the servers display name.

Syntax

GetServerName()

Parameters

  • This function has no parameters.

Return Value

  • The name of the server

Example

AddPlayerChat(playerid, "Welcome to "..GetServerName()..".")

See also