15.12.2011, 19:25
Yes you now me. But I'm not Gigi_Falcone. I'm Gagi from BS(u now me)
Thanks to all for good comments.
EDIT:
I'm now test and it works fine. Saves in scriptfiles/Player/Your_Nick
Maybe if you use this with some gamemode. Try to change this:
Change dialog id to some number example:
And are you add it in server.cfg and filterscripst Admin_System. And i'm compile this on 0.3d (if u use 0.3c compile it on 0.3c and use sscanf for 0.3c).
Thanks to all for good comments.
EDIT:
Quote:
Please, I have a bug, when I register my name and quit server, it doesn't save my nick and I need register again :S |
Maybe if you use this with some gamemode. Try to change this:
Code:
//========Dialog ID========== #define DIALOG_REGISTER 1 #define DIALOG_LOGIN 2 #define DIALOG_CLICK 3 #define DIALOG_ADMIN 4 #define RCON_DIALOG 5
Code:
//========Dialog ID========== #define DIALOG_REGISTER 1529 #define DIALOG_LOGIN 2529 #define DIALOG_CLICK 3529 #define DIALOG_ADMIN 4529 #define RCON_DIALOG 5529