There is a way to make loop for this ?
#1

I use DOF2, I have folder with all the users in my server [player.ini], I need to make loop or something else that inside each file and check value... is it possible ?

Thanks
Reply
#2

Yes, but that would cause MASSIVE lag.
Reply
#3

Why you need to make a loop to check a specific value when you can create a command that reads a selected player file?
Reply
#4

Quote:
Originally Posted by 2KY
Посмотреть сообщение
Yes, but that would cause MASSIVE lag.
tell me how please.

___

I need to remove clan to example and I need to remove value from file of the player that in the clan, and I don't have list with all the players in the clan so I need to check all the files in the folder and check if the player is in the clan and reset is values..

__

by the way .. there is a way to open and remove folder in pawno ?
Reply
#5

You could do that when a player connects.
Reply
#6

Quote:
Originally Posted by Marricio
Посмотреть сообщение
You could do that when a player connects.
I know I did it .. but if the players of the clan clan want to change name clan or remove the clan and create him back ? I need to remove the file clan.. How can I make look for this ?
Reply
#7

....
Reply
#8

That is exactly what a database is used for. File writing and disk access is terribly slow. We're talking about several seconds here!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)