How to make Account ID and more...
#1

Hello,

I want to create Account ID system,
I know how to do it, But it fails, It always return 0.
That's why i delete it, How to create one like

Account ID 0, 1, 2 etc...

Also how to create a count time system (When player connects it will start count like 00:01, 00:02, etc)
When player reach more than like (59:59), It will add a digit like this (01:00:00)

I know how to do it, But i can't make that adding "0 - Zero" System
Reply
#2

There are tons of tutorials on creating user accounts.
Reply
#3

I'm not asking for how to create user accounts,
I'm asking how to make Account ID system which counts the player

like

Account ID: 10th
Reply
#4

for Total accounts use this:

pawn Код:
stock GetTotalAccounts()
{
    new myQuery[256], total;
    format(myQuery, sizeof(myQuery), "SELECT * FROM `Tablename`");
    mysql_query(myQuery);
    mysql_store_result();
    total = mysql_num_rows();
    mysql_free_result();
    return total;
}
Reply
#5

I'm not current using mysql.

How about the Count Time System?
I'm done with Account ID system.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)