[FilterScript] [0.3x] zDivine's Admin System [zAdmin]
#1

zDivine's Admin System [zAdmin]

Script Release: 20130516 (YYYYMMDD)
Latest Script Version: 1.0.1.0


Features:
  • ~ VERSION 1.0.0.0 ~
  • Automatic file creation for missing scriptfiles.
  • Dynamic server settings for anti-cheat, spawning, and skins.
  • Dynamic command levels, allowing you to set the level for each command in game via dialogs.
  • Register and login with player file saving.
  • Unique banning system.
  • Four Admin levels.
    ~ VERSION 1.0.1.0 ~
  • New VIP system with 5 default commands.
  • Dynamic VIP command levels.
  • Tog-gable zAdmin health system.
  • Tog-gable VIP alerting.
  • More Admin commands.
Commands:
  • ~ VERSION 1.0.0.0 ~
  • /editcmds - Allows you to edit the commands levels.
  • /setadmin [playerid] [level] - Allows you to set a players Admin level.
  • /kick [playerid] [reason] - Kicks the specified player.
  • /ban [playerid] [reason] - Bans the specified player.
  • /unban [account name] - Unbans the specified account.
  • /banip [IP] - Bans the specified IP.
  • /unbanip [IP] - Unbans the specified IP.
  • /freeze [playerid] - Freezes the specified player.
  • /unfreeze [playerid] - Unfreezes the specified player.
  • * zDivine slaps [playerid] [height] around a bit with a large trout. - Slaps the player, setting their Z coordinate to the specified height.
  • /isolate [playerid] [time(minutes)] [reason] - Sets the player 2000 feet in the air for the specified time.
  • /unisolate [playerid] - Unisolates the specified player, putting them back on the ground.
  • /sethealth [playerid] [health] - Sets the health of the specified player.
  • /setarmour [playerid] [armour] - Sets the armour of the specified player.
  • /givegun [playerid] [weaponid] - Gives the specified player the specified weapon.
  • /givecar [playerid] [vehicleid] - Gives the specified player the specified vehicle.
  • /takeguns [playerid] - Resets the specified players weapons.
  • /goto [playerid] - Sets your position to the specified player's.
  • /gethere [playerid] - Sets the specified player to your position.
  • /explode [playerid] [type(0-13)] [radius] - Creates an explosion at the specified players position with the specified type and radius.
  • /setskin [playerid] [skin] - Sets the specified players skin to the specified skin.
    ~ VERSION 1.0.1.0 ~
  • /freezeall - Freezes all players.
  • /unfeezeall - Unfreezes all players.
  • /getallhere - Teleports all players to your position.
  • /kickall - Kicks all players
  • /ann [message] [time] [style] - Sends game text for all players with specified time and style.
  • /setcolor [playerid] [color] - Sets the specified players color to the specified color.
  • /makevip [playerid] [level(1-4)] - Sets the specified players VIP level to the specified level.
  • /gotoloc [X] [Y] [Z] [INT] [VW] - Sets your position to the specified coordinated and Interior ID / VW ID.
  • /savecfgs - Manually updated all configuration files.
  • /vipalert - Enables/disables VIP alerting.
    ~ VIP COMMANDS ~
  • /vcar [modelid] [color1] [color2] - Creates a vehicle with specified model and colors.
  • /vgun [weaponid] - Creates a weapon with specified weapon.
  • /vheal - Sets health and armour of player to 100.0.
  • /vfix - Repairs the players car.
  • /vc [message] - General VIP chat.
Pictures:











Requirements:
  • zcmd- Credits to Zeex.
  • sscanf2 - Credits to ******.
  • YSI\y_ini - Credits to ******.
  • YSI\y_timers - Credits to ******.
  • foreach - Credits to ******.
Installation:
  1. Move "zAdmin.amx" to your filterscripts folder.
  2. Create a directory called "zAdmin" in your scriptfiles folder.
  3. Create a director called "Users" in the "zAdmin" folder.
  4. Add "zAdmin" to your filterscripts line in your "server.cfg".
  5. Ensure "sscanf" is added to your plugins line.
  6. Restart your server, and ENJOY!
Contact:
  • Skype: mercenary.lf
  • SA-MP: PM
Download:

Scriptfiles: Download Scriptfiles

Version 1.0.1.0: Pastebin
---------------
Version 1.0.0.0:
Reply
#2

Cool your first Admin System,
But can you post some pic or more info such as pastebin?
Reply
#3

Quote:
Originally Posted by Giroud12
Посмотреть сообщение
Cool your first Admin System,
But can you post some pic or more info such as pastebin?
Updated with pictures. Enjoy.
Reply
#4

Wow cool its something like JakAdmin but im not saying u copy the script.
Good job bro.I gonna test it.
Reply
#5

Quote:
Originally Posted by Giroud12
Посмотреть сообщение
Wow cool its something like JakAdmin but im not saying u copy the script.
Good job bro.I gonna test it.
Lol, I never downloaded JakAdmin, I saw the documentation on it and it just screamed edit. I made this from scratch.
Did it all today, and released today. Pretty good i'd say.
Reply
#6

Can you post all the files in a rar/zip file please... I need the scriptfiles!
Reply
#7

Quote:
Originally Posted by Warbles
Посмотреть сообщение
Can you post all the files in a rar/zip file please... I need the scriptfiles!
Done, they have been added under the download section.
Reply
#8

Quote:
Originally Posted by zDivine
Посмотреть сообщение
Lol, I never downloaded JakAdmin, I saw the documentation on it and it just screamed edit. I made this from scratch.
Did it all today, and released today. Pretty good i'd say.
First of all. JakAdmin is not screamed edit.
JakAdmin idea is copy but the code itself is scripted by me.

You did'd better check the code before saying that.
Reply
#9

Pretty nice - Good job

[repped+]
Reply
#10

10 errors
Reply
#11

Quote:
Originally Posted by bgtoo
Посмотреть сообщение
10 errors
Make sure you have all the includes.
Reply
#12

zAdmin has been updated to version 1.0.1.0. Enjoy.
Reply
#13

Sorry for an troubles, some of you might of had problems with this system as I forgot to update the scriptfiles folder. It has been updated, so enjoy!
Reply
#14

Quote:
Originally Posted by _Jake_
Посмотреть сообщение
First of all. JakAdmin is not screamed edit.
JakAdmin idea is copy but the code itself is scripted by me.

You did'd better check the code before saying that.
he is correct. btw u use samp.ban? if you do this is not a good script
Reply
#15

Nice (:
+REP
Reply
#16

Код:
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(224) : error 010: invalid function or declaration
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(226) : error 010: invalid function or declaration
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(228) : error 010: invalid function or declaration
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(230) : error 010: invalid function or declaration
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(234) : error 010: invalid function or declaration
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(237) : error 021: symbol already defined: "GetPlayerPos"
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(405) : warning 219: local variable "x" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(405) : warning 219: local variable "y" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(405) : warning 219: local variable "z" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1291) : warning 219: local variable "x" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1291) : warning 219: local variable "y" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1291) : warning 219: local variable "z" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1316) : warning 219: local variable "x" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1316) : warning 219: local variable "y" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1316) : warning 219: local variable "z" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1341) : warning 219: local variable "x" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1341) : warning 219: local variable "y" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1341) : warning 219: local variable "z" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1428) : warning 219: local variable "x" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1428) : warning 219: local variable "y" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1428) : warning 219: local variable "z" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1474) : warning 219: local variable "x" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1474) : warning 219: local variable "y" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1474) : warning 219: local variable "z" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1493) : warning 219: local variable "x" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1493) : warning 219: local variable "y" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1493) : warning 219: local variable "z" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1515) : warning 219: local variable "x" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1515) : warning 219: local variable "y" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1515) : warning 219: local variable "z" shadows a variable at a preceding level
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1551) : warning 203: symbol is never used: "x"
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1551) : warning 203: symbol is never used: "y"
D:\GTA San Andreas\WINDOWS SERVER\filterscripts\zAdmin.pwn(1551) : warning 203: symbol is never used: "z"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
hi bro... ssup?

so whats da cure? xd
Reply
#17

C:\Users\B3N0\Desktop\LS_GM\LS GM\filterscripts\zAdmin.pwn(14) : fatal error 100: cannot read from file: "YSI\y_ini"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#18

Lol you dont have YSI library in your pawno include folder add it and you wont get this error
Reply
#19

Error I have updated YSI to latest.

Quote:

zAdmin.pwn(224) : error 010: invalid function or declaration
zAdmin.pwn(226) : error 010: invalid function or declaration
zAdmin.pwn(22 : error 010: invalid function or declaration
zAdmin.pwn(230) : error 010: invalid function or declaration
zAdmin.pwn(234) : error 010: invalid function or declaration
zAdmin.pwn(237) : error 021: symbol already defined: "GetPlayerPos"
zAdmin.pwn(405) : warning 219: local variable "x" shadows a variable at a preceding level
zAdmin.pwn(405) : warning 219: local variable "y" shadows a variable at a preceding level
zAdmin.pwn(405) : warning 219: local variable "z" shadows a variable at a preceding level
zAdmin.pwn(1291) : warning 219: local variable "x" shadows a variable at a preceding level
zAdmin.pwn(1291) : warning 219: local variable "y" shadows a variable at a preceding level
zAdmin.pwn(1291) : warning 219: local variable "z" shadows a variable at a preceding level
zAdmin.pwn(1316) : warning 219: local variable "x" shadows a variable at a preceding level
zAdmin.pwn(1316) : warning 219: local variable "y" shadows a variable at a preceding level
zAdmin.pwn(1316) : warning 219: local variable "z" shadows a variable at a preceding level
zAdmin.pwn(1341) : warning 219: local variable "x" shadows a variable at a preceding level
zAdmin.pwn(1341) : warning 219: local variable "y" shadows a variable at a preceding level
zAdmin.pwn(1341) : warning 219: local variable "z" shadows a variable at a preceding level
zAdmin.pwn(142 : warning 219: local variable "x" shadows a variable at a preceding level
zAdmin.pwn(142 : warning 219: local variable "y" shadows a variable at a preceding level
zAdmin.pwn(142 : warning 219: local variable "z" shadows a variable at a preceding level
zAdmin.pwn(1474) : warning 219: local variable "x" shadows a variable at a preceding level
zAdmin.pwn(1474) : warning 219: local variable "y" shadows a variable at a preceding level
zAdmin.pwn(1474) : warning 219: local variable "z" shadows a variable at a preceding level
zAdmin.pwn(1493) : warning 219: local variable "x" shadows a variable at a preceding level
zAdmin.pwn(1493) : warning 219: local variable "y" shadows a variable at a preceding level
zAdmin.pwn(1493) : warning 219: local variable "z" shadows a variable at a preceding level
zAdmin.pwn(1515) : warning 219: local variable "x" shadows a variable at a preceding level
zAdmin.pwn(1515) : warning 219: local variable "y" shadows a variable at a preceding level
zAdmin.pwn(1515) : warning 219: local variable "z" shadows a variable at a preceding level
zAdmin.pwn(1551) : warning 203: symbol is never used: "x"
zAdmin.pwn(1551) : warning 203: symbol is never used: "y"
zAdmin.pwn(1551) : warning 203: symbol is never used: "z"

Reply
#20

+REP

Error downloading Scriptfile
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)