27.01.2014, 12:12
(
Последний раз редактировалось Blunt; 29.07.2014 в 16:43.
)
bAdministration
Advanced administration system. [70+COMMANDS]
•Description
bAdministration was created for advanced administration within your server, user friendly, sophisticated, smartly engineered and designed for easy-use.
Before this can function correctly,
you'll need to create a folder in your scriptfiles directory named "adminaccounts'"and
another folder named "useraccounts".
To use system you'll need the following server files:
ZCMD - https://sampforum.blast.hk/showthread.php?tid=91354
YSI/y_ini - https://sampforum.blast.hk/showthread.php?tid=175565
Incognito's streamer - https://sampforum.blast.hk/showthread.php?tid=102865
foreach - https://sampforum.blast.hk/showthread.php?tid=92679
sscanf - https://sampforum.blast.hk/showthread.php?tid=120356
Whirlpool - https://sampforum.blast.hk/showthread.php?tid=65290
svAddons -https://sampforum.blast.hk/showthread.php?tid=348044
bAdministration was created for advanced administration within your server, user friendly, sophisticated, smartly engineered and designed for easy-use.
Before this can function correctly,
you'll need to create a folder in your scriptfiles directory named "adminaccounts'"and
another folder named "useraccounts".
To use system you'll need the following server files:
ZCMD - https://sampforum.blast.hk/showthread.php?tid=91354
YSI/y_ini - https://sampforum.blast.hk/showthread.php?tid=175565
Incognito's streamer - https://sampforum.blast.hk/showthread.php?tid=102865
foreach - https://sampforum.blast.hk/showthread.php?tid=92679
sscanf - https://sampforum.blast.hk/showthread.php?tid=120356
Whirlpool - https://sampforum.blast.hk/showthread.php?tid=65290
svAddons -https://sampforum.blast.hk/showthread.php?tid=348044
•Features
•Smartly designed admin account login & register system.
•Auto registration for non-administrators.
•70+ Commands.
•Ability to manipulate any player in-game.
•Ability to manipulate any vehicle in-game with a simple command.
•Ability to manipulate, edit or change any object in-game.
•Ability to get any information from a players inventory.
•Manipulation of any players location.
•Gain information from all vehicles.
•Gain information from all server objects.
•Gain information from all players in the server.
•Gain information from all vehicles within the server.
•Administration private chat.
•Gain information from all RCON administrators in the server.
•Gain information from all NPCS within the server.
•Ability to shake a players screen, with a simple command.
•Edit any server information dynamically in-game, such as mapname, url, servername, serverpassword and more.
•Ability to send RCON announcements in-game.
•Teleportation commands for the whole map of SA.
•An advanced ban system with reasons of ban.
•Administrator vehicles.
•Administrator objects.
•How to use.
To set yourself highest administrator level, when in-game you are required to login to RCON, once logged in you execute the command /makemeadmin, then register your admin account, after that log out, go to your adminaccounts folder in the scriptfiles directory and open your player file and edit the 'Admin' data to value 6, save it and then your good to go.
In order to create a command you must use this following code anywhere in your script.
In order to create a command you must use this following code anywhere in your script.
Код:
COMMAND:commandname(playerid, params[]) { if(AdminInfo[playerid][aLoggedOn] == 0) return SendClientMessage(playerid, COLOR_WHITE, "SERVER: You must be logged in to use this."); // Checks if you are logged into your administration account. if(AdminInfo[playerid][aAdmin] >= 1) // Checks if the player's admin level is 1 and above. (Un-registered and above) { // Youre functions here } else SendClientMessage(playerid, COLOR_LIGHTRED, "WARNING: You do not have access to this command"); // If player isnt an admin. return 1; }
•Commands.
Levels.
• Level 0 - None administrator.
• Level 1 - Un-registered administrator, being level you will need to register an administrative account.
• Level 2 - Level 1 Moderator.
• Level 3 - Level 2 General Administrator.
• Level 4 - Level 3 General Administrator.
• Level 5 - Level 4 Senior Administrator.
• Level 6 - Level 5 Lead Administrator.
• Level 0 - None administrator.
• Level 1 - Un-registered administrator, being level you will need to register an administrative account.
• Level 2 - Level 1 Moderator.
• Level 3 - Level 2 General Administrator.
• Level 4 - Level 3 General Administrator.
• Level 5 - Level 4 Senior Administrator.
• Level 6 - Level 5 Lead Administrator.
Functions.
UNREGISTERED ADMIN COMMANDS: /adminregister
UNLOGGED IN ADMIN COMMANDS: /adminlogin
Moderation
/kick /spectate /warn /checkhealth /checkarmour /checkweapons
/setskin /setworld /setint /setpos /setcolor /a /getid
/gotogrove /gotols /gotosf /gotolv /gotogas /gotoelcorona
/gotomotel /gotobank /mute /unmute
General Administration
/ban /gethere /goto /spec /specoff /hack /shakeplayerscreen
/getvehiclespeed /getvehiclehealth /getvehicleangle /getip
Senior Administration
/givegun /reconnect /clearplayerchat /clearallplayerschat
/countallplayers /countallvehicles /countallpausedplayers /removeweapon
/setplayermoney /crashplayer /explodeplayer /killplayer /explodevehicle
Lead Administration
/jetpack /disablesprunkmachines /freezeall /unfreezeall /sendaudiomessagetoall
/changeserverpassword /changeservermap /changeserverwebsite /changeservername
/countallobjects /getallplayers /countallrconadmins /countallnpcs
/sendrconmessagetoserver /sendmessagetorconadmins /setadmin /setplayercolor
/muteallplayers /unmuteallplayers /spawnvehicle /spawnobject
SOLIDFILES[/URL]UNREGISTERED ADMIN COMMANDS: /adminregister
UNLOGGED IN ADMIN COMMANDS: /adminlogin
Moderation
/kick /spectate /warn /checkhealth /checkarmour /checkweapons
/setskin /setworld /setint /setpos /setcolor /a /getid
/gotogrove /gotols /gotosf /gotolv /gotogas /gotoelcorona
/gotomotel /gotobank /mute /unmute
General Administration
/ban /gethere /goto /spec /specoff /hack /shakeplayerscreen
/getvehiclespeed /getvehiclehealth /getvehicleangle /getip
Senior Administration
/givegun /reconnect /clearplayerchat /clearallplayerschat
/countallplayers /countallvehicles /countallpausedplayers /removeweapon
/setplayermoney /crashplayer /explodeplayer /killplayer /explodevehicle
Lead Administration
/jetpack /disablesprunkmachines /freezeall /unfreezeall /sendaudiomessagetoall
/changeserverpassword /changeservermap /changeserverwebsite /changeservername
/countallobjects /getallplayers /countallrconadmins /countallnpcs
/sendrconmessagetoserver /sendmessagetorconadmins /setadmin /setplayercolor
/muteallplayers /unmuteallplayers /spawnvehicle /spawnobject
PASTEBIN[/CENTER][/B]
•Bugs.
If any bugs within the script please comment below or visitor message me so I can update the links with fixed versions, thank you.
•Credits.
Blunt - Author of this administration script.
ZeeX - For the command processor used in this script.
****** - For y_ini, Whirlpool, sscanf and foreach.
Incognito - For use of the streamer.
SuperViper - For use of his addon include.
ZeeX - For the command processor used in this script.
****** - For y_ini, Whirlpool, sscanf and foreach.
Incognito - For use of the streamer.
SuperViper - For use of his addon include.