hi so i noticed in my last post that the /addshop command didnt work, so i fixed it on the shop on my website manually adding it with admin acc, and looked for tutorial and copied all the scripts etc, but if i buy something on the website it looks like this
and if i check in my console when i reload i get this error on my shop.lua in globalevents, and ive searched all over google and otland for a fix and a right script but cant find anyone please help
[20/05/2013 19:43:25] Lua Script Error: [GlobalEvent Interface]
[20/05/2013 19:43:25] data/globalevents/scripts/shop.luanThink
[20/05/2013 19:43:25] data/globalevents/scripts/shop.lua:14: attempt to call global 'getCreatureByName' (a nil value)
[20/05/2013 19:43:25] stack traceback:
[20/05/2013 19:43:25] [C]: in function 'getCreatureByName'
[20/05/2013 19:43:25] data/globalevents/scripts/shop.lua:14: in function <data/globalevents/scripts/shop.lua:7>
[20/05/2013 19:43:25] [Error - GlobalEvents::think] Failed to execute event: shop
almost same error for every script, "getcreaturebyname" and im using 0.2.15 tfs HELP!
- - - Updated - - -
help
- - - Updated - - -
bump
and if i check in my console when i reload i get this error on my shop.lua in globalevents, and ive searched all over google and otland for a fix and a right script but cant find anyone please help
[20/05/2013 19:43:25] Lua Script Error: [GlobalEvent Interface]
[20/05/2013 19:43:25] data/globalevents/scripts/shop.luanThink
[20/05/2013 19:43:25] data/globalevents/scripts/shop.lua:14: attempt to call global 'getCreatureByName' (a nil value)
[20/05/2013 19:43:25] stack traceback:
[20/05/2013 19:43:25] [C]: in function 'getCreatureByName'
[20/05/2013 19:43:25] data/globalevents/scripts/shop.lua:14: in function <data/globalevents/scripts/shop.lua:7>
[20/05/2013 19:43:25] [Error - GlobalEvents::think] Failed to execute event: shop
almost same error for every script, "getcreaturebyname" and im using 0.2.15 tfs HELP!
- - - Updated - - -
help
- - - Updated - - -
bump
Last edited: