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)