ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions

Server functions

Functions available in type="server" scripts. They run on the server and see every player.

Shared functions work here too. For example setTimer and getElementPosition are in Shared functions.

New functions and events! 4

Accounts 24

Administration and bans 19

Blips 4

Chat and console 1

Clothes 20

Collision shapes 10

Database 9

Elements 30

Events 5

Files 4

Fire 6

Game engine 1

Input and controls 7

Lights 14

Maps 3

Markers 8

Miscellaneous 39

Objects 11

Peds 73

Permissions (ACL) 26

Pickups 6

Players 79

Projectiles 8

Resources 35

Server 23

SVG 6

Teams 8

Text displays 20

Utilities 17

Vehicles 130

Weapons 23

World 72