SA-MP Forums Archive
How do you install the plugin Whirlpool? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How do you install the plugin Whirlpool? (/showthread.php?tid=352410)



How do you install the plugin Whirlpool? - JustinAn - 19.06.2012

Hey guys, I have a problem.The plugin is called Whirlpool, the question is. How do I install the plugin whirlpool?


I also have a Windows System.


Link to Whirlpool: https://sampforum.blast.hk/showthread.php?tid=65290


Re: How do you install the plugin Whirlpool? - Jonny5 - 20.06.2012

just add the plugin into your plugins folder
and add to the server.cfg

im sure you probably had that
THEN
their is no include just add this native in the top of your mode

Quote:
Originally Posted by ******
Посмотреть сообщение
This plugin adds just one function:

pawn Код:
native WP_Hash(buffer[], len, const str[]);
So I didn't bother including an include. To use simply call the function, passing a buffer of at least 129 characters, the size of that buffer and the string you want to hash. This used to say 145 but I have no idea why! You need 128 for the hash and 1 for the NULL terminator