[Include] Script Secure ADM
#2

pawn Код:
#if !defined isnull
    #define isnull(%1) ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
Do the same for these:
pawn Код:
#define FILE_SERVERIP           "127.0.0.1"
#define FILE_SERVERPORT         (7777)         
#define FILE_LICENSEID          (20160201)      //<--- YYYYMMDD 01.02.2016 (DD.MM.YYYY)
#define FILE_MAX_PLAYERS        (500)           //max players in server.cfg
#define FILE_RCONPASS           "123"           //rcon password
#define FILE_LANGUAGE           "Polish"        //server language
So the user won't need to edit the include but do something like this:
pawn Код:
#define FILE_SERVERIP "127.0.0.1"
#include <ScriptSecure>
And i think the only thing enough for security is the IP and PORT.
Reply


Messages In This Thread
Script Secure ADM - by AbyssMorgan - 07.02.2016, 18:01
Re: Script Secure ADM - by Gammix - 07.02.2016, 18:14
Re: Script Secure ADM - by AbyssMorgan - 07.02.2016, 18:37
Re: Script Secure ADM - by Gammix - 07.02.2016, 19:52
Re: Script Secure ADM - by Spmn - 07.02.2016, 20:24
Re: Script Secure ADM - by AbyssMorgan - 08.02.2016, 13:37
Re: Script Secure ADM - by JustMe.77 - 08.02.2016, 15:22
Re: Script Secure ADM - by AbyssMorgan - 08.02.2016, 15:26
Re: Script Secure ADM - by AbyssMorgan - 08.02.2016, 15:53
Re: Script Secure ADM - by AbyssMorgan - 25.06.2016, 05:48
Re: Script Secure ADM - by JustMe.77 - 04.07.2016, 11:44
Re: Script Secure ADM - by AbyssMorgan - 04.07.2016, 11:47
Re: Script Secure ADM - by AbyssMorgan - 01.02.2017, 12:53
Re: Script Secure ADM - by Bolex_ - 01.02.2017, 13:51
Re: Script Secure ADM - by OneDay - 01.02.2017, 22:42
Re: Script Secure ADM - by JustMe.77 - 12.02.2017, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)