ArrayPushArray problems
Hello,
I tried to make a VIP Plugin with a vips.ini file for reading vips. But when I introduce the data in file, it not shows me exactly what I wanna get from that array. Code: Code:
putinserver client phase: Code:
Show Expire Task: Code:
vips.ini file: Code:
Adi is joining the server. Adi has VIP and server prints his vip's expire is on "30.06.2020" instead to print "Permanent VIP" Test is joining the server. Test has not VIP, but he is written in the file. |
Re: ArrayPushArray problems
This is a clasic example where you should use a trie, not a dyn array.
|
Re: ArrayPushArray problems
I don't want to use a trie, I want to use an dynamic array to parse the entire line as here:
Code:
|
Re: ArrayPushArray problems
If you don't need to loop through all entries in the list, you should use a trie. It works like this:
"key" = "value" In your case "key" is the player's name and "value" is the expiration date, so no array is needed. |
Re: ArrayPushArray problems
Solved using trie way :)
|
All times are GMT -4. The time now is 08:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.