Registration count
#3

Quote:
Originally Posted by HurtLocker
Посмотреть сообщение
This is what I have in my /register command to do this:
pawn Код:
format(AccFile, sizeof(AccFile), "/users/AccountsNumber.ini", AccFile);
ac=dini_Int(AccFile, "AccNo");
ac++;
dini_IntSet(AccFile, "AccNo", ac);
format(str, sizeof(str), "{03FF20}%s [%d] {5293FA}has just registered. It's the number {03FF20}%d {5293FA}account created in this server!", name, playerid, ac);
SendClientMessageToAll(1, str);
So, create a dini file yourself and add inside the string "AccNo" by hand.
Do I need to create a new file ? Sorry... Can't really understand some codes. (Haven't script for months)
Reply


Messages In This Thread
Registration count - by Zex Tan - 22.04.2013, 09:33
AW: Registration count - by HurtLocker - 22.04.2013, 09:35
Re: AW: Registration count - by Zex Tan - 22.04.2013, 09:46
AW: Registration count - by HurtLocker - 22.04.2013, 09:47

Forum Jump:


Users browsing this thread: 1 Guest(s)