Advertisement
Guest User

Untitled

a guest
Sep 11th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. if(dialogid == DIALOG_MDCCHECK)
  2. {
  3.  
  4. new mdccheck2[128];
  5. new pid;
  6.  
  7. new Name[128];
  8.  
  9. if(sscanf(inputtext,"u", pid))
  10.  
  11.  
  12. if(pid == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "Der Spieler ist nicht Online! Erstelle Offline eine Fahndung");
  13. aufgerufen.
  14. if(PlayerInfo[pid][pGefahndet] == 0) { Name = "Nein";}
  15. if(PlayerInfo[pid][pGefahndet] >=1) { Name = "Ja";}
  16. format(mdccheck2,sizeof(mdccheck2),"Name: %s\nWird aktuell Gesucht: %s\nGesucht Wegen: %s",GetName(pid),Name,PlayerInfo[pid][pFahndungGrund]);
  17. ShowPlayerDialog(playerid,177,DIALOG_STYLE_MSGBOX,"Daten",mdccheck2,"Beenden","");
  18. //theMDCChecked[pid] = pid;
  19. SetPVarInt(pid,"FahndetName",pid);
  20. return 1;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement