Hello guys, maybe someone knows how to implement this.
- random reward for entering the game every 24 hours
1. for all players
2. random item
only for working with SQL
Hello guys, maybe someone knows how to implement this.
- random reward for entering the game every 24 hours
1. for all players
2. random item
only for working with SQL
- - - Updated - - -PHP Code:UPDATE UsersData SET GamePoints = (GamePoints+1000) WHERE DATEDIFF(MINUTE, uc.LastUpdateDate, GETDATE()) <= 24
For give item, use EXEC FN_AddItemToUser