knightxd
Member
Is there any way to put an command on lua script that on say something the npc open a file located on my computer?
well, an introduction, i'm creating an offline game, that gives you prizes, i wanna know if its possible to make a npc open a file on my computer, i tried this code but it havn't worked..
anyone have a solution? :thumbup:
local file = io.read('C:\H otserver\data\npc\scripts\test.txt','r')
texto = file:read(-1)
file:close()
well, an introduction, i'm creating an offline game, that gives you prizes, i wanna know if its possible to make a npc open a file on my computer, i tried this code but it havn't worked..
anyone have a solution? :thumbup:
local file = io.read('C:\H otserver\data\npc\scripts\test.txt','r')
texto = file:read(-1)
file:close()