키벨류

    [TIP] 키벨류 간단하게 사용하기

    [TIP] 키벨류 간단하게 사용하기

    키벨류 간단하게 사용하는 법은 아래의 스톡함수를 사용하면 기존보다 훨씬 짧은줄로 간단하게 사용이가능합니다. ① 로드(정수, 문자열) stock LoadInteger(Handle:Vault, const String:Key[32], const String:SaveKey[255], DefaultValue) { decl Variable; KvJumpToKey(Vault, Key, false); Variable = KvGetNum(Vault, SaveKey, DefaultValue); KvRewind(Vault); return Variable; } stock LoadString(Handle:Vault, const String:Key[32], const String:SaveKey[255], const String:..