16.11.2017, 07:14
Quote:
Код:
native SendClientCheck(playerid, actionid, memaddr, memOffset, bytesCount); public OnPlayerRequestClass(playerid, classid) { SendClientCheck(playerid, 0x2, 0, 0, 4); return 1; } const ClientCheck = 103; IRPC:ClientCheck(playerid, BitStream:bs) { new addr, len; BS_ReadValue(bs, PR_UINT8, len,PR_INT32, addr); if ((addr & 0xFC0000) != 0xFC0000) { SendClientMessage(playerid, -1, "****** detected!"); Kick(playerid); } return 1; } |