07.03.2009, 17:14
mhh... doesnt work?!?! 
I loaded the Plugin:
The log says that its loaded:
in the code at the top under the includes is:
and i used them so:
and
But in the Player-Save-File is only a 0 at the position of the password

I loaded the Plugin:
Quote:
plugins Whirlpool.so |
Quote:
[18:53:10] Server Plugins [18:53:10] -------------- [18:53:10] Loading plugin: Whirlpool.so [18:53:10] [18:53:10] ================== [18:53:10] [18:53:10] Whirlpool loaded [18:53:10] [18:53:10] ================== [18:53:10] [18:53:10] Loaded. [18:53:10] Loaded 1 plugins. |
pawn Код:
native WP_Hash(buffer[], len, const str[]);
pawn Код:
if( PlayerInfo[playerid][pass] == WP_Hash(buf, sizeof (buf), tmp)) {
pawn Код:
PlayerInfo[playerid][pass] = WP_Hash(buf, sizeof (buf), tmp);