19.07.2010, 18:09
Hi, guys.
Well, I built a website which contains PHP+MySQL.
And with this website I can register into my serverfiles, pretty much as LS-RP.com server.
So, I wanted to know a few thing, and I hope you guys help me.
1. When someone is pressing at the button "Send", It inserts the (Name, password, and more...). So, what I need to know is how to do when someone presses "Send", It will automatically Insert into my "Players" database. couple of numbers which should be PhoneNumber. like 100000 and top, like loop or something. and If someone has that number already, It needs to get the highest number and add a new+1.. If you know what I'm saying. pretty much like in PWN.
Just for PHP and MySQL. I know there are smart people which could help me! so please.
2. On my RP gamemode there's (float) of numbers. which are pHealth: 100.0 and when someone registers into my server, It writes in player's database: 999.9 and I don't why, I set that when he registers it should be float.... I need more help how to set up it so it won't show me 999.9, I need it to show me, 100.0 like in my RP gamemode... This is the HP of the character, I hope you understand what I am saying.
Please help me, that's the only thing I need to know right now.
I know you guys are very smart, so please. I have helped many ppl here, If someone will really help me here!
I will be glad and will help for more others!
Thank you, guys.
Well, I built a website which contains PHP+MySQL.
And with this website I can register into my serverfiles, pretty much as LS-RP.com server.
So, I wanted to know a few thing, and I hope you guys help me.
1. When someone is pressing at the button "Send", It inserts the (Name, password, and more...). So, what I need to know is how to do when someone presses "Send", It will automatically Insert into my "Players" database. couple of numbers which should be PhoneNumber. like 100000 and top, like loop or something. and If someone has that number already, It needs to get the highest number and add a new+1.. If you know what I'm saying. pretty much like in PWN.
Just for PHP and MySQL. I know there are smart people which could help me! so please.
2. On my RP gamemode there's (float) of numbers. which are pHealth: 100.0 and when someone registers into my server, It writes in player's database: 999.9 and I don't why, I set that when he registers it should be float.... I need more help how to set up it so it won't show me 999.9, I need it to show me, 100.0 like in my RP gamemode... This is the HP of the character, I hope you understand what I am saying.
Please help me, that's the only thing I need to know right now.
I know you guys are very smart, so please. I have helped many ppl here, If someone will really help me here!
I will be glad and will help for more others!
Thank you, guys.