Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssadmin-superman

Category:script
Author(s):ryden
Downloads:8211
Rate:You need to be logged in to vote
Rating:5 (5 Votes)
Description:
This superman version only allows Admins and Moderators to fly in superman (by default, as you can edit the ACLs name in server.lua table)

Original: https://community.mtasa.com/index.php?p=resources&s=de..amp;id=220

It's the first proper version to do so, after the myriad of cheaply written ''admin/staff'' superman resources was cleaned out.
This superman for admins is based off the latest original version.

Look for this part in server.lua when you want to edit access to ACLs:

local allowedACL =
{
[aclGetGroup("Admin")] = true,
[aclGetGroup("Moderator")] = true,
}

If you want to recognize (allow) admins by Team and class under team instead of ACL groups, use these script files and replace:

client.lua: https://pastebin.com/UFgVTiQn
server.lua: https://pastebin.com/Tt5J3ZTV

(by default, this version checks for "Admins" team and spawned class "Staff" or "Admin" - useful for RPG servers with sql rather than ACLs)

Download latest version | Report

Version history

Version Publish Date Changes
1.6.0 2018-01-27 01:03:42 fixed interference with other resources Download
1.5.0 2017-07-21 01:56:05 First public release Download