domez86 Posted September 22, 2019 Posted September 22, 2019 (edited) hi, it is possible to link this script: if (! #onetimeitem) { set # onetimeitem, 1; to the char id? not account id. thanks. Edited September 22, 2019 by domez86 Quote
0 Emistry Posted October 15, 2019 Posted October 15, 2019 if (!onetimeitem) { onetimeitem = 1; } remove the prefix '#' that indicated the variable as account variable. Quote
0 Chun3 Posted September 22, 2019 Posted September 22, 2019 name - permanent character integer variable Quote
0 sader1992 Posted September 22, 2019 Posted September 22, 2019 "#" - A permanent local account variable. They are stored by char-server in the `acc_reg_num` table and `acc_reg_str`. https://github.com/rathena/rathena/blob/752d3143f5f9cabcc5a6326db2cf75102954e887/doc/script_commands.txt#L498 Quote
Question
domez86
hi, it is possible to link this script:
Edited by domez86if (! #onetimeitem) {
set # onetimeitem, 1;
to the char id? not account id.
thanks.
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.