![]() |
Voting Script [Help]
Okay so im completelly lost here i need this to be for every player.
like players can only vote once per day. Script: PHP Code:
|
So what you'll do is you'll have to make use of a server time variable "timevar"/"timevar2" store that in a client string and then when the player comes to vote again, compare the distance between the current time and the recorded time, if it's greater than 24 hours let them vote again.
PHP Code:
Good luck. |
Quote:
|
| All times are GMT +2. The time now is 10:57 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.