GetServerName

From Onset Developer Wiki
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