Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Fuzzy168 on October 14, 2011, 07:17:53 am
-
1. What is the differences between stock and public?
2. How to encrypt Pawn password? Not like Gups 1.16
-
1. stock is used to make functions and public is for do something when something happend
2. With dutils.inc (i think)
-
1. stock just tells the Pawn compiler to see if the function is used. If it isn't, it doesn't get added to the compiled script. public is pretty much the same as stock, except it's always compiled in and can be accessed from any script that includes it.
2. dutils.inc does not have encryption. I'll work on a customized SHA-256 implementation later. The SA:MP forum probably has encryption functions too.
-
SHA-256
What is that?
The SA:MP forum probably has encryption functions too.
Can't find one.. :-\
-
http://en.wikipedia.org/wiki/Secure_Hash_Algorithm
And here's an MD5 implementation by Y_Less for an SA:MP include. It should work on VC:MP, but I haven't tested it.
http://forum.sa-mp.com/showpost.php?p=869025&postcount=5
-
Madara Warchief use Dutils to encrypt. Is it safe?
-
I can't guarantee that it's safe. I can't guarantee MD5 is safe either, but it's safer.