note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
OnClientCheckResponse
Description
This callback is called when a SendClientCheck request completes.
Name | Description |
---|---|
playerid | ID player yang dicek. |
actionid | Tipe cek yang dilakukan. |
memaddr | 'address' yang diminta. |
retndata | Hasil dari cek tersebut. |
Returns
Selalu terpanggil pertama kali di filterscripts.
Contoh
public OnPlayerConnect(playerid)
{
SendClientCheck(playerid, 0x48, 0, 0, 2);
return 1;
}
public OnClientCheckResponse(playerid, actionid, memaddr, retndata)
{
if(actionid == 0x48) // or 72
{
print("WARNING: The player doesn't seem to be using a regular computer!");
Kick(playerid);
}
return 1;
}
Catatan
warning
Callback ini hanya terpanggil di filterscripts.
Fungsi Terkait
- SendClientCheck: Melakukan memory check kepada client.