- Joined
- Nov 13, 2006
- Messages
- 1,814
it doesn't save anything
JASS:
set i = 0
l = StringLength(*string*)
loop
exitwhen i == l
set s = SubString(udg_SL_STRING, i, i + 1)
call SaveInteger(udg_SL_HASHTABLE, 1, StringHash(s), i)
if s == "c" then
call DisplayTextToPlayer ( GetLocalPlayer(), 0, 0, s+":"+I2S(i)+" in hash"+I2S(LoadInteger(udg_SL_HASHTABLE, 1, StringHash(s)))+" sid:"+I2S(StringHash(s)))
endif
//call SaveStr(h, 2, i, s)
set i = i + 1
endloop
Last edited by a moderator: