Dantarrix
Member
Well, i need that, in a script, change the level of a player...
For example:
From 50 to 25.....
I think the only way is executing this:
I dont know what i neet to put on x.....
How i get the player's id in db in lua....??
For example:
From 50 to 25.....
I think the only way is executing this:
LUA:
db.executeQuery("UPDATE 'players' SET 'level'= 25 WHERE 'id'=x;")
I dont know what i neet to put on x.....
How i get the player's id in db in lua....??