R
Rozinx
Guest
Small and useful script.
Create a file named dbquery.lua at your data/talkactions/scripts folder.
Now we're going to declare it in talkactions.xml
That's my little contribution to otland.
Rep++ if you enjoyed it.
Best regards
Ps : you can use it like this : /dbquery update players set maglevel = 10;
and so on.
Create a file named dbquery.lua at your data/talkactions/scripts folder.
Code:
function onSay(cid, words, param)
db.executeQuery(param)
return TRUE
end
Now we're going to declare it in talkactions.xml
Code:
<talkaction log="yes" access="6" words="/dbquery" script="dbquery.lua"/>
That's my little contribution to otland.
Rep++ if you enjoyed it.
Best regards
Ps : you can use it like this : /dbquery update players set maglevel = 10;
and so on.
Last edited by a moderator: