Check for date from sql connection
Can anyone help me with this ?
I'm making a client program for updating the value in mysql If the player close the client the value didn't update I'm completing my first amxx script and I want to get a time value from sql table ( In form of Hour Minute Second Example : 081534) and I want it to compare it with server's current time. I don't know how to compare and how to use amxx to get server's current time. If players current time from sql differential is higher than 25 seconds, player will get kicked. I really don't know how to start |
Re: Check for date from sql connection
If you don't know what you're doing it will be alot easier for you to use nvault.
|
Re: Check for date from sql connection
Ah for more info about what I making
This is my plugin right now PHP Code:
If this not too hard please write the code for me. That would be nice but if it take alot of time please show me the way :shock: Sorry for my bad english (English is not my main lang) |
Re: Check for date from sql connection
What's the point of using a database for this? Couldn't you just store the time value in a variable and check it there?
|
Re: Check for date from sql connection
Quote:
|
Re: Check for date from sql connection
Quote:
|
| All times are GMT -4. The time now is 22:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.