this-> IsAllowIpAdmin

(Caronte Pcode version 2.0)

Description

int this-> IsAllowIpAdmin (string ip);

Check if the ip is allowed to the admin.

Example.

Source:

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

this->Print("Result: " + this->Format("%d",this->IsAllowIpAdmin("192.168.0.1")));


return 0;

}



Out:
Result: 0