Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int GetInVipList(int clientid)
- {
- #define vNick(clientid) (char*)(clientid * 0x0410 + 0x015C69B8)
- FILE *vips = NULL;
- int iId;
- fopen_s(&vips,"vips.csv","r");
- char stream[70],fName[64];
- int retrn == -1;
- if(vips != NULL)
- {
- while(!feof(vips)){
- fgets(stream,sizeof(stream),vips);
- sscanf(stream,"%11[^\n]",&fName);
- if(strcmp(vLogin(clientid), fName) == 0) {
- retrn == 1;
- }
- }
- }
- return retrn;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement