View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-29-2013 , 15:55   Re: [INC] SHA-1 hashing stocks
Reply With Quote #6

Quote:
Originally Posted by pheadxdll View Post
This doesn't compile anymore

Code:
    new input[1];
    while(!IsEndOfFile(hFile))
    {
        ReadFileCell(hFile, input[1])
        SHA1Input(Context, input, 1);
    }
ReadFileCell has changed- I tried to fix it briefly but I couldn't verify the computed hash..
Why are you trying to access the second element ([1]) of a single element array? Or did you mean
PHP Code:
ReadFileCell(hFileinput[0]); 
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 01-29-2013 at 15:56.
Powerlord is offline