[Include] Admin System - admin system with many features
#21

Good Job,
Reply
#22

v1.6

Changes:
Compatible with y_hooks
Compatible with foreach
Minor improvements
Reply
#23

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
Reply
#24

v1.8

Changes:
Fixed bug with calling dialogs
Reply
#25

Actually very good thing
Reply
#26

v1.9

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

v2.0

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

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?
Reply
#29

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.
Reply
#30

im updating my includes still got same errors.
Reply
#31

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;
Reply
#32

v2.1

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

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
Reply
#34

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
Reply
#35

v2.2

Changes:
Fixed return values in some callback functions
Reply
#36

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.
Reply
#37

v2.3

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

Edited : Nice Work
Reply
#39

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
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)