19.12.2007, 18:35
L ADMIN
LethaL Adminscript
Current Version: LAdmin4v2
Date Released: 29/07/2008
Lines: 6,700
- Auto Login
- Admins can save their favourite skin and use it every time they spawn
- Stats Saving (kills, deaths, money, weapons), location saving
- Loads of cmds
- Loads of menus for vehicles, weapons,teleports etc
- Report system, send message to admins and saves to a file. Admins can type /reports to see latest reports
- Command for admins to save a location to file and teleport to it at any time
- Ping Kick
- Anti bot system
- Anti spam& Anti swear & ANTI CAPS
- Lock Server
- 13 tuned carspawns commands (/ltc) and a tuning cmd which gives u nos, hydrallics,paint etc
- Highest Admin Is immune from commands
- Dueling command
- RCON commands availble for highest level admins
- 28 Menus, including San Andreas Teleport menus, weapon and vehicle spawn menus
- Custom jail command (with jail time)
The Commands
Level 1getinfo, weaps, vr, repair, ltune, lhy, lnos, lp, asay, ping, lslowmo, ltc, morning, adminarea, reports, richlist, miniguns, saveplacae, gotoplace, saveskin, useskin, dontuseskin.
Level 2
giveweapon, setcolour, lockcar, unlockcar, burn, spawn, disarm, lcar, lbike, lheli, lboat, lplane, hightlight, announce, announce2, screen, jetpack, flip, goto, vgoto, lgoto, fu, warn, slap, jailed, frozen, mute, unmute, muted, laston, lspec, lspecoff, lspecvehicle, clearchat, lmenu, ltele, cm, ltmenu, write.
Level 3
sethealth, setarmour, setcash, setscore, setskin, setwanted, setname, setweather, settime, setworld, setinterior, force, eject, bankrupt, sbankrupt, ubound, lweaps, lammo, countdown, duel, car, carhealth, carcolour, setping, setgravity, destroycar, teleplayer, vget, givecar, gethere, get, kick, explode, jail, unjail, freeze, unfreeze, akill,aka, disablechat, clearallchat, caps, move, moveplayer, healall, armourall, setallskin, setallwanted, setallweather, setalltime, setallworld, setallscore, setallcash, giveallcash, giveallweapon, lweather, ltime, lweapons.
Level 4
crash, enable, disable, god, godcar, die, ban, rban, settemplevel, uconfig, botcheck, lockserver, unlockserver, forbidname, forbidword, invis, uninvis, killinvis, fakedeath, spawnall, muteall, unmuteall, getall, killall, freezeall, unfreezeall, kickall, slapalll, explodeall, disarmall, ejectall.
Level 5
god, sgod, setlevel, pickup, object, fakechat, spam
RCON
info, aka, pm, asay, ann, uconfig, chat
New rcon commands to use whilst off the server. Type into rcon window
- "info" to view server stats.
- "asay" sends a message to admins only
- "pm" sends a personal message to a user
How To Install
1. Copy the 'ladmin' folder into scriptfiles (or create all the necessary folders)
2. Copy 'ladmin.amx' and 'ladmin.pwn' into filterscripts folder
3. To complie you will need 'lethaldudb2.inc' in the includes folder
4. Add 'ladmin' to your server.cfg next to filterscripts (must be the first filterscript)
There are 5 levels, Level 1 = member, levels 2, 3, 4 are admins and level 5 for the server owner
How to make yourself admin:
1. Connect to serverregister then disconnect
2. Open your newly saved file, where it says level=0 change the 0 to 5
3. Connect to the server again and you r now the highest level admin
How to make other players admin
Type /setlevel [ID] [Level] (note the player must be registered)
To Change the Level of a Command
Do CTRL + F to find the command then change the number after >= to the level you want
Example:
To Change this command from level 2 to level 4
Original Code
Код:
if(PlayerInfo[playerid][Level] >= 2) {
Код:
if(PlayerInfo[playerid][Level] >= 4) {
Using Player Admin Level in another filterscript or gamemode
1. Put the file IsPlayerLAdmin.inc in your includes folder
2. add the following line to the top of your gamemode
pawn Код:
#include <IsPlayerLAdmin>
pawn Код:
if (IsPlayerLAdmin(playerid)) ....
pawn Код:
if (IsPlayerAdminLevel(playerid, 4)) ... // where 4 is the level. this can be any level you want
Credits
- Darkimmortal - for the car menu system
- /warn - Andre9977
- spec - kyeman / Hamm3r
- DracoBlue - dudb , dutils, dini
- rcon "msg" - yom
- /crash - Seif[P7]
- Anti Swear - based on Boylett's anti swear
Downloads
Version 2.2 (OLD)
Version 2.2 LAdmin2 (mediafire.com)
Version 2.2 (megaupload.com)
-
Version 3 (OLD)
Version 3 LAdmin3
-
LAdmin 4 (Latest)
Download LAdmin4v2
_________________________________________________
I no longer script anything for samp. There will not be any future releases. Please do not PM me about this adminscript. Thank you.
Version 2.2 (OLD)
Version 2.2 LAdmin2 (mediafire.com)
Version 2.2 (megaupload.com)
-
Version 3 (OLD)
Version 3 LAdmin3
-
LAdmin 4 (Latest)
Download LAdmin4v2
_________________________________________________