SA-MP Forums Archive
[Include] Admin System - admin system with many features - 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)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Admin System - admin system with many features (/showthread.php?tid=605397)

Pages: 1 2


Re: Admin System - admin system with many features - Touati - 30.06.2016

Good Job,


Re: Admin System - admin system with many features - OstGot - 25.11.2016

v1.6

Changes:
Compatible with y_hooks
Compatible with foreach
Minor improvements


Re: Admin System - admin system with many features - OstGot - 25.12.2016

v1.7

Changes:
Reduced the likelihood of coincidence dialog ids with ids in other fs/gm
Fixed compilation error that occurred when trying to use it together with izcmd


Re: Admin System - admin system with many features - OstGot - 03.01.2017

v1.8

Changes:
Fixed bug with calling dialogs


Re: Admin System - admin system with many features - Kruno88 - 03.01.2017

Actually very good thing


Re: Admin System - admin system with many features - OstGot - 18.02.2017

v1.9

Changes:
Now administrator can apply the punishments to himself
Added a prohibition of certain actions if the player is in spectator mode


Re: Admin System - admin system with many features - OstGot - 30.03.2017

v2.0

Changes:
Added SetPlayerMuteTime function
Added check of the admin level argument for SetPlayerAdminLevel function
Fixed return values in some functions


Re: Admin System - admin system with many features - Man43 - 16.04.2017

Many errors:-
i got many errors like thiss

Code:
error 017: undefined symbol "GetPlayerPoolSize"
error 017: undefined symbol "CreateExplosionForPlayer"
How to i can fix it?


Re: Admin System - admin system with many features - J0sh... - 16.04.2017

Download the 0.3.7 server package from http://www.sa-mp.com/download.php

and replace your "pawno" folder with the one in the samp rar file, merge if you need to.


Re: Admin System - admin system with many features - Man43 - 16.04.2017

im updating my includes still got same errors.


Re: Admin System - admin system with many features - OstGot - 17.04.2017

Quote:
Originally Posted by Man43
Посмотреть сообщение
WOW Nice i fix it how to i can set player admin LEVEL? I Mean

Example:- /setadmin [ID] [1-5]
As an example, you can take this tutorial and add this:
Код:
SetPlayerAdminLevel(playerid, levels);
after (or instead of) this:
Код:
PlayerData[ID][AdminLevel] = levels;



Re: Admin System - admin system with many features - OstGot - 10.06.2017

v2.1

Changes:
Now when you spectate dead player you will still see him
Chat cleaning now cleans chat for 30 messages
Minor improvements


Re: Admin System - admin system with many features - MixalisSAMP - 16.06.2017

I like this admin script but i'm having some difficulties installing it on my server.
Quote:

Installation and use:
1. Download admsys.inc on the links below and copy in pawno\include
2. Open your gamemode and add to the beginning: "#include <admsys>", compile changed script

I can't understand 2. - what gamemode are you talking about, where do i need to go from here? http://imgur.com/a/TSyLd


Re: Admin System - admin system with many features - Astralis - 16.06.2017

Quote:
Originally Posted by MixalisSAMP
Посмотреть сообщение
I like this admin script but i'm having some difficulties installing it on my server.

I can't understand 2. - what gamemode are you talking about, where do i need to go from here? http://imgur.com/a/TSyLd
gamemode0 in server.cfg open that one in your "gamemodes" folder


Re: Admin System - admin system with many features - OstGot - 09.08.2017

v2.2

Changes:
Fixed return values in some callback functions


Re: Admin System - admin system with many features - SvoleX - 22.01.2018

I think it's better to add explaination in return of SetPlayerMuteTime(playerid, time) function. For example this function r will return something like that:
return 0 — unknown error
return 1 — success
return 2 — player isn't connected
return 3 — invalid argument(s)
etc
I know I can check it in my script but in this case it will incur losses of server perfomance because admin system already checked it and my script will check it again.


Re: Admin System - admin system with many features - OstGot - 23.01.2018

v2.3

Changes:
SetPlayerAdminLevel and SetPlayerMuteTime functions now return -1 if the second argument is specified incorrectly


Re: Admin System - admin system with many features - Ultrashot - 18.11.2018

Edited : Nice Work


Re: Admin System - admin system with many features - OstGot - 02.07.2020

Quote:
Originally Posted by 1sbedx
View Post
And... I just pointed out the fact that yes, you can also do it using gettime.
Ok, sorry if that seemed too pushy. gettime method is applicable in many cases and this is a good solution for some game delays without final notifications, but in this case it initially has more problems than good unfortunately