Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. int GetInVipList(int clientid)
  2. {
  3. #define vNick(clientid) (char*)(clientid * 0x0410 + 0x015C69B8)
  4. FILE *vips = NULL;
  5.  
  6. int iId;
  7. fopen_s(&vips,"vips.csv","r");
  8. char stream[70],fName[64];
  9. int retrn == -1;
  10.  
  11. if(vips != NULL)
  12. {
  13. while(!feof(vips)){
  14. fgets(stream,sizeof(stream),vips);
  15. sscanf(stream,"%11[^\n]",&fName);
  16.  
  17. if(strcmp(vLogin(clientid), fName) == 0) {
  18. retrn == 1;
  19. }
  20.  
  21.  
  22. }
  23.  
  24. }
  25. return retrn;
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement