Help with SrciptinG!
#1

Hi! Can somebody tell me a function which can count the number of players are registered?
For Example:-
+REP
Reply
#2

What method are you using for storing data? MySQL or standard file system?
Reply
#3

Use the COUNT() function if you're using MySQL.

Код:
SELECT COUNT(*) FROM YOUR_ACCOUNTS_TABLE
Reply
#4

We dont use mysql.
send me pawno code(FULL)
Reply
#5

Quote:
Originally Posted by RocketBoy
Посмотреть сообщение
We dont use mysql.
send me pawno code(FULL)
Why would you want a script with MySQL if you don't use it?
And you can't just go all over the forums and ask for full scripts.
Reply
#6

Quote:
Originally Posted by RocketBoy
Посмотреть сообщение
We dont use mysql.
send me pawno code(FULL)
You're not helping us help you at all my friend.
Reply
#7

I'm using standard
File system..
Reply
#8

Quote:
Originally Posted by RocketBoy
Посмотреть сообщение
I'm using standard
File system..
You are going to have to make a variable at the top of your script.

new registeredPlayers;

then increase it by one everytime a player registers

registeredPlayers += 1;

then save that number to a file.
Reply
#9

Code!!
Reply
#10

Quote:
Originally Posted by RocketBoy
Посмотреть сообщение
Code!!
Sure send $20 USD to my paypal and I will be more then happy to give you the code.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)