How can i make VIP with timer leak:
vip to week/month/years
and wear i put this in my server files?
With as vague as your question is, and the fact that it looks like you haven't even attempted this yourself, I doubt anybody is going to help you.
You can easily do this by storing the os.time a VIP begins in a database(either externally or internally using Player/SetPData).
Then create a function that compares the current time with the time in the database.
If you actually look into how those functions work, you'd notice that they utilize the player's "UniqueID"
which is supposedly not actually unique.
I'd create my own version which uses the steamid64 until they change.
Btw, Op, nobody is going to help you unless you're actually looking to learn something.
It says here that PData uses the steam ID so I don't really know what you mean.
I actually made a mistake in my post, you should not store the time of the start of the VIP, you should store the end time instead.
It actually uses Steam ID, but it's encoded with CRC which can cause duplicates.
https://files.facepunch.com/forum/upload/106967/78430281-f848-4e25-bd27-651eccaa10e3/chrome_2018-05-16_10-12-08.png
How can it cause duplicates if it passes the unique steam ID through the CRC function?
CRC doesn't produce a unique number every time.
I'm still skeptical about this, what's the point of PData if it's not unique? This is terribly designed if it creates duplicates. I'm just curious because I've never used PData before, I always used external db.
Sorry, you need to Log In to post a reply to this thread.