Hello friends,
I wonder how do I send items only to players who are online at the server at that time and for a period of days?
Hello friends,
I wonder how do I send items only to players who are online at the server at that time and for a period of days?
I know that Emisands Admin Panel has a function to send coins to all online players so grab that code and edit it to send items.
Check the itemlist of a character in the database when the player opens the inventory.
To ALL Players maybe, but I don't remember a function that sent it to all players who were online.
All that should be done is create a WHERE statement saying that it will only send to players whose LastLoginTime and LastLogoutTime are both less than when you executed the query. Pretty much the same way of doing a Who's Online function to list all players who are online on the server.