Admin Script?
#1

I want a simple 1 level admin script. Either you are admin, or u arent. I want to make it myself... but whenever i try, i fail. any recomendations?
Reply
#2

May i ask first why a one level, it is very easy for other admin to ban you, i strongly recommend a 2 level or more admin script, i will search now for you but 1 admin level is just silly.

Edit: If you find a multi level admin command/level i will help you make it in to a 1-2 level admin system if need be.
Reply
#3

Ok... i never thought about that... how about you help me m,ake a 2 level admin script... Please help... and THANKS for the feedbak!!!
Reply
#4

Quote:
Originally Posted by sciman001
Посмотреть сообщение
Ok... i never thought about that... how about you help me m,ake a 2 level admin script... Please help... and THANKS for the feedbak!!!
Here's a good tut on the subject.

https://sampwiki.blast.hk/wiki/Creating_...l_admin_script
Reply
#5

ok... ill try that. ill reply in a few.
Reply
#6

i get tons of errors just with copy/paste...

C:\Matts stuff (DONT OPEN)\dmserver\filterscripts\madmin.pwn(47) : error 001: expected token: ";", but found "{"
C:\Matts stuff (DONT OPEN)\dmserver\filterscripts\madmin.pwn(4 : error 017: undefined symbol "PlayerInfo"
C:\Matts stuff (DONT OPEN)\dmserver\filterscripts\madmin.pwn(4 : warning 215: expression has no effect
C:\Matts stuff (DONT OPEN)\dmserver\filterscripts\madmin.pwn(4 : error 001: expected token: ";", but found "]"
C:\Matts stuff (DONT OPEN)\dmserver\filterscripts\madmin.pwn(4 : error 029: invalid expression, assumed zero
C:\Matts stuff (DONT OPEN)\dmserver\filterscripts\madmin.pwn(4 : fatal error 107: too many error messages on one line

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


5 Errors.
Reply
#7

i can fix some of them though.
Reply
#8

this doesnt even save does it?
Reply
#9

Quote:
Originally Posted by sciman001
Посмотреть сообщение
this doesnt even save does it?
You did'nt ask for saving functions.

Try:

http://forum.sa-mp.com/showthread.ph...ght=admin+save

Or better still, use the SEARCH function.
Reply
#10

Quote:
Originally Posted by BakerProduction
Посмотреть сообщение
May i ask first why a one level, it is very easy for other admin to ban you, i strongly recommend a 2 level or more admin script, i will search now for you but 1 admin level is just silly.

Edit: If you find a multi level admin command/level i will help you make it in to a 1-2 level admin system if need be.
Actually it is not, you can make something like
pawn Код:
if(Level(IDToBan) >= 1) return SendClientMessage(playerid, COLOR, "Don't ban admins...");
And for the script... Try these tutorials:

- Dialog Register/Login System using DJson (by sekol)
- How to make a register system - DIALOG (by Lorenc_)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)