21.05.2012, 12:00
Thank you for your reply, but that is exactly what I'm doing.
EDIT: I'll try to temporarily use that stock, and see if it gets me anywhere.
EDIT 2: Wow, I used the stock, and it worked perfectly. But I don't see a difference in.
Than I do with
pawn Код:
new
wpHash[129],
pKey[MAX_PLAYERS][129]
;
WP_Hash(wpHash, 129, inputtext);
strmid(pKey, wpHash, 0, sizeof(wpHash));
EDIT 2: Wow, I used the stock, and it worked perfectly. But I don't see a difference in.
pawn Код:
strmid(PlayerInfo[playerid][pKey], wpHash, 0, sizeof(wpHash));
pawn Код:
PlayerInfo[playerid][pKey] = cutstring(wpHash, 129);
stock cutstring(string[], length )
{
new tmp, out[129];
tmp = length; //END OF STR
strmid(out, string, 0, tmp);
return out;
}


