24.09.2014, 16:34
Hello !
Guys, I'm currently learning how to script, and today i wanted to make something.
Basically, I made a DIALOG_STYLE_LIST when the user registers to the server, so they select American or Russian.
I want it so that if they pick the first choice their faction gets set to 1, or if they pick the second option, they're
faction gets set to 2.
So far i have:
Thank you very much, If you need any part of the code, post below which part, I'll post it ASAP. Thank you very much!
Guys, I'm currently learning how to script, and today i wanted to make something.
Basically, I made a DIALOG_STYLE_LIST when the user registers to the server, so they select American or Russian.
I want it so that if they pick the first choice their faction gets set to 1, or if they pick the second option, they're
faction gets set to 2.
So far i have:
Код:
else if(dialogid == 5) {