zerghel
Tsuni
- Joined
- Jul 1, 2008
- Messages
- 299
- Reaction score
- 9
is possible to execute a DB query via lua script using tfs 0.2.7?
how?
i'm trying to set this one by using an item
but tfs 0.2.7 has no getPlayerAccountId function
how?
i'm trying to set this one by using an item
Code:
databaseQuery("UPDATE `accounts` SET `premium_points` = `premium_points` + 1 WHERE `id` = ".. [COLOR="Red"]getPlayerAccountId[/COLOR](cid) ..";")