Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- enum(<<= 1) {
- NULL = 0,
- SOBEIT = 0x5E8606,
- };
- native SendClientCheck(playerid, actionid, memaddr, memOffset, bytesCount);
- main() {
- printf("TEST");
- return false;
- }
- stock PlayerName(playerid) {
- new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof(Name));
- return Name;
- }
- public OnPlayerConnect(playerid) {
- new actionid = 0x5;
- new memaddr = SOBEIT;
- new retndata = 0x4;
- SendClientCheck(playerid, actionid, memaddr, NULL, retndata);
- printf("%s dołącza do serwera", PlayerName(playerid));
- return true;
- }
- forward OnClientCheckResponse(playerid, actionid, memaddr, retndata);
- public OnClientCheckResponse(playerid, actionid, memaddr, retndata) {
- printf("Sprawdzanie gracza %s:\n%d\n%d\n%d\n%d\n%d", PlayerName(playerid), playerid, actionid, memaddr, NULL, retndata);
- switch(retndata) {
- case 0xA: printf("Sprawdzanie gracza %s:\n%d\n%d\n%d\n%d\n%d", PlayerName(playerid), playerid, actionid, memaddr, NULL, retndata), printf("Użytkownik %s prawdopodobnie posiada s0beita, bądź plik d3d9.dll w katalogu z GTA San Andreas", PlayerName(playerid));
- }
- printf("Sprawdzanie gracza %s:\n%d\n%d\n%d\n%d\n%d", PlayerName(playerid), playerid, actionid, memaddr, NULL, retndata);
- // return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement