
#wii-encript
By:
whiplk on
Feb 6th, 2012 | syntax:
PAWN | size: 0.37 KB | hits: 124 | expires: Never
//Encripta uma string...
stock wii_strhash(str[], bool:index = false) {
new
ii,
nn[128];
if(index == true) {
for( ; ii <= strlen(str); ii++ ) {
nn[ii] = (str[ii] * 2);
}
}
else {
for( ; ii <= strlen(str); ii++ ) {
nn[ii] = (str[ii] / 2);
}
}
return nn;
}
//Exemplo:
printf("%s", wii_strhash("testando", true));