Admin Script? - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Admin Script? (
/showthread.php?tid=238631)
Admin Script? -
sciman001 - 12.03.2011
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?
Re: Admin Script? -
=WoR=Mitch - 12.03.2011
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.
Re: Admin Script? -
sciman001 - 12.03.2011
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!!!
Re: Admin Script? -
Stigg - 12.03.2011
Quote:
Originally Posted by sciman001
|
Here's a good tut on the subject.
https://sampwiki.blast.hk/wiki/Creating_...l_admin_script
Re: Admin Script? -
sciman001 - 12.03.2011
ok... ill try that. ill reply in a few.
Re: Admin Script? -
sciman001 - 12.03.2011
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.
Re: Admin Script? -
sciman001 - 12.03.2011
i can fix some of them though.
Re: Admin Script? -
sciman001 - 12.03.2011
this doesnt even save does it?
Re: Admin Script? -
Stigg - 12.03.2011
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.
Re: Admin Script? -
alpha500delta - 12.03.2011
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_)