Posts: 1,208
Threads: 36
Joined: Apr 2015
Quote:
Originally Posted by Gammix
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.
|
okay I might add, I personally love the protection time, useful when we are co-owner of the server