Advertisement
Shiny_

Untitled

Feb 9th, 2014
688
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.24 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. enum(<<= 1) {
  4.     NULL = 0,
  5.     SOBEIT = 0x5E8606,
  6. };
  7. native SendClientCheck(playerid, actionid, memaddr, memOffset, bytesCount);
  8.  
  9. main() {
  10.     printf("TEST");
  11.     return false;
  12. }
  13.  
  14. stock PlayerName(playerid) {
  15.     new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof(Name));
  16.     return Name;
  17. }
  18.  
  19. public OnPlayerConnect(playerid) {
  20.     new actionid = 0x5;
  21.     new memaddr = SOBEIT;
  22.     new retndata = 0x4;
  23.     SendClientCheck(playerid, actionid, memaddr, NULL, retndata);
  24.    
  25.     printf("%s dołącza do serwera", PlayerName(playerid));
  26.     return true;
  27. }
  28.  
  29. forward OnClientCheckResponse(playerid, actionid, memaddr, retndata);
  30. public OnClientCheckResponse(playerid, actionid, memaddr, retndata) {
  31.     printf("Sprawdzanie gracza %s:\n%d\n%d\n%d\n%d\n%d", PlayerName(playerid), playerid, actionid, memaddr, NULL, retndata);
  32.     switch(retndata) {
  33.         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));
  34.     }
  35.     printf("Sprawdzanie gracza %s:\n%d\n%d\n%d\n%d\n%d", PlayerName(playerid), playerid, actionid, memaddr, NULL, retndata);
  36.     // return true;
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement