• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Editing a system

Status
Not open for further replies.
Just add the "reborn" to player table, insert a query and just use when reborn update
 
You can remove storages freely as well, so it's not really necessary to add a new field that handles player rebirths. :p
 
i want to handle player rebirth but inside the db, and it get the result from db and when he reborns it adds to db etc. so everything goes via db :P
 
Just make


local rebirth = (update rebirth query)

on rebirth just call the query
 
db.executeQuery('UPDATE players SET rebirths=rebirths +1 WHERE name=' .. GETTHENAMEHERE)

Something like that i think
 
Status
Not open for further replies.
Back
Top