udb_hash(buf[]).But how to load string?
#1

Alright.I use Y_INI and udb_hash(buf[]) to save string.It's successful save.But how to load it and show for player?
(I can get it and decide it)
decide:
Код:
if(udb_hash(pName) == CustomObjectInfo[i][Owner])
I don't know how to show.Just like I want to tell to player CustomObjectInfo[i][Owner] by SendClientMessage.Instead of a encrypted string

(Sorry my bad English expression)
Reply
#2

You can not decrypt a hash. You can use it inside conditions, like

Код:
 if(!strcmp(udb_hash(pName), CustomObjectInfo[i][Owner])
if of course, Object owner's name is also hashed using same method.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)