loop though users folder
#1

is there a way to loop though a folder and then change a value to every single one of the .ini files in OnGameModeExit() using dini?

like...
Reply
#2

Only if the player is online, otherwise it's gonna be a bitch.
Reply
#3

but is it possible?
Reply
#4

Quote:
Originally Posted by jamesbond007
Посмотреть сообщение
but is it possible?
I would suggest you to read about mysql.

pawn Код:
new Query[128];
format(Query, sizeof(Query), "UPDATE users SET Foo = %d;", Bar);
mysql_query(Query);
Would change every users "Foo" variable too "Bar".
Easy piece.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)