28.07.2010, 20:47
Quote:
pawn Код:
|
I asked if there was an include or something that added a function to get
the servers IP adress, so I can use It to check If It matches with my define, if not the server will lock down.
A protection, kind of.
like;
pawn Код:
#define SERVER_IP "xxx.xxx.xxx.xxx"
public OnGameModeInit()
{
new serverip = GetServerIP;
if(serverip==SERVER_IP){
// proceed
}else{
// lockdown
}
}