Scripting/Squirrel/Functions/Player.Admin
This wiki is using an old backup from 2020
Some information may be old/missing
Syntax
- Sets player as admin
Player.Admin Player.Admin = true (1) / false (0)
Description
This function is just a variable. There are no built-in commands for admins, like they used to be in earlier versions.
Example
So you can make a player admin, then create command for him, like:
if( cmd == "heal" ) { if( player.Admin ) { player.Health = 100; } }