SA-MP Forums Archive
[FilterScript] [FS] >> L Admin 4 - Adminscript << [stats/weap/place saving | Over 150 CMDS] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] >> L Admin 4 - Adminscript << [stats/weap/place saving | Over 150 CMDS] (/showthread.php?tid=19819)

Pages: 1 2 3 4 5


[FS] >> L Admin 4 - Adminscript << [stats/weap/place saving | Over 150 CMDS] - LethaL - 19.12.2007

L ADMIN
LethaL Adminscript

Current Version: LAdmin4v2
Date Released: 29/07/2008
Lines: 6,700
Features More Features
The Commands
Level 1
getinfo, 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 New account cmds: /changepass, /resetstats



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) {
Replace 2 with 4
Код:
if(PlayerInfo[playerid][Level] >= 4) {
Done


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>
3. Now you can use:
pawn Код:
if (IsPlayerLAdmin(playerid)) ....
and
pawn Код:
if (IsPlayerAdminLevel(playerid, 4)) ... // where 4 is the level. this can be any level you want

Credits
_________________________________________________

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.


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - Rks25 - 19.12.2007

Nice release man, i love it !

Rkss


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - Puffmac - 19.12.2007

Looks great! I've been looking for a decent admin script for ages! My server will be using it .

Well Done.


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - Spyro55 - 19.12.2007

Nice admin script im sure gonna use it :P


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - LethaL - 19.12.2007

Quote:
Originally Posted by Rks25
Nice release man, i love it !

Rkss
Quote:
Originally Posted by Puffmac
Looks great! I've been looking for a decent admin script for ages! My server will be using it .

Well Done.
Thanks


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - Alejandro - 19.12.2007

looks nice. want a mirror?


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - LethaL - 19.12.2007

Quote:
Originally Posted by Alejandro
looks nice. want a mirror?
Thanks Sure,you can mirror but it may get updated soon


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - Puffmac - 19.12.2007

I can also provide a mirror if needed. PS Tested your script... Thankyou!


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - Alejandro - 19.12.2007

Mirror


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - Puffmac - 19.12.2007

Mirror


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - Francis[French] - 20.12.2007

Give me credits for MY /warn command.


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - cmg4life - 20.12.2007

hey dude its a nice admin sys and i was looking for one but the menus are bugged ( model limit exceed ) so do a menu with just few things like nrg infernus vortex hydra maverick and a rancher thats all

EDIT: ive changed the menus.... but BUGS : /settime is changing world time not just for player and says SET WHEATER command bla bla ... fix the bugs :P and /mute doesn t work... unmute does... REST : IS KEWL... thnx

EDIT2: maybe u could add a simpler Tune cmd... like the menu in xAdmin with just nos ... 2 or 3 types of wheels and hydraulics

EDIT3: ITS FULL OF BUGS... im using it AND ITS FULL OF BUGS... /kick and ban doesn t always work... neither warn or slap... FIX IT DUDE i really liked it

Its kewl... ... maybe fix a lil




Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - LethaL - 20.12.2007

ITS NOT FULL OF BUGS no1 else has had any problem with it
EDIT: I have spoken to cmg and now know that the reason it doesnt work for him is that he has edited the script and removed vital parts of it.
edit by me: BTW highest level admins r immune i.e. u cant get kicked from ur own server
set player time and weather going to be added along with new menus. EDIT: Added


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - Francis[French] - 20.12.2007

Yeah, sorry, it was really looking like mines.


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - LethaL - 21.12.2007

New Version released. All known bugs Fixed including slap and menus

New car spawn and tuning menus available. Setplayer time and weather





Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - dacads - 21.12.2007

Good work



Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - Skole - 21.12.2007

When i compile, i have one warning:
Code:
\filterscripts\LAdminR2.pwn(498) : warning 225: unreachable code
Well, that\'s not matter, but when i enter to server, it loads your copyright-textdraw, but then samp-server.exe closes, and it can\'t connect to server. So, anyone else have this?


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - dacads - 21.12.2007

Quote:
Originally Posted by Skole
When i compile, i have one warning:
Code:
\filterscripts\LAdminR2.pwn(498) : warning 225: unreachable code
Well, that\'s not matter, but when i enter to server, it loads your copyright-textdraw, but then samp-server.exe closes, and it can\'t connect to server. So, anyone else have this?
Yes this also happens to me


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - LethaL - 21.12.2007

This may be silly but have u got the ladmin folder in scriptfiles folder it must have the config.ini file inside it inorder to load !

I had a go at deliberately trying to crash it and found this is the only way u could b doing it. have u removed the server message Bcos U can change it by typing /setsm in game (without sm it wont load)

PUT ALL FILES AND FOLDERS IN THE CORRECT PLACE


Re: [FS] LAdmin by LethaL (stats saving & loads of cmds & more) - dacads - 21.12.2007

Quote:
Originally Posted by LethaL
This may be silly but have u got the ladmin folder in scriptfiles folder it must have the config.ini file inside it inorder to load !

I had a go at deliberately trying to crash it and found this is the only way u could b doing it. have u removed the server message Bcos U can change it by typing /setsm in game (without sm it wont load)

PUT ALL FILES AND FOLDERS IN THE CORRECT PLACE
Don\'t matter i use Xadmin instead