Good morning every one, I try to search in forum but can't find answer, so i creat this topic to ask. This is my question:
1. I made some thing, and when player unlock this, he have this, and when disconnect then connect again , it's not lost. Lost when change map --> DONE
Exp:
Quote:
|
Unlock ak47 - 4000$ --> Player have unlock_ak47[id] = true --> until change map , he have ak47 free. When disconnect then connect again , unlock_ak47[id] = true, do not lost.
|
2. But some time, 1 player A disconnect and his [id] like player B connect, player B have unlock_ak47[id] = true , and he don't need unlock with 4000$.
3. So i want to make some thing can save unlock_ak47[id] = true to player's ip or name and reset unlock_ak47[id] = false when map change or shutdown server. I try to find, maybe can save by nvault, but i don't know how to save this, please show me way to save this to nvault or something like this. Very thanks bros of alliedmods.
__________________