• Problem with a Pointshop item
    3 replies, posted
Hello i have a Problem with the Drilldo in my Pointshop. What i get for a LUA Error [CODE] [ERROR] addons/pointshop/lua/items/weapons/jaanus.lua:3: invalid escape sequence near ''models' 1. unknown - addons/pointshop/lua/items/weapons/jaanus.lua:0[/CODE] My Pointshop Code [CODE]ITEM.Name = 'Drilldo' ITEM.Price = 600 ITEM.Model = 'models\jaanus\w_drilldo.mdl' ITEM.Skin = 1 ITEM.WeaponClass = 'weapon_zm_improvised' ITEM.SingleUse = false ITEM.AllowedUserGroups = { "owner", "superadmin", "admin", "moderator", "superdonator" } function ITEM:OnBuy(ply) ply:Give(self.WeaponClass) ply:SelectWeapon(self.WeaponClass) end function ITEM:OnSell(ply) ply:StripWeapon(self.WeaponClass) end[/CODE] What is the problem, what i did wrong ? Tyvm for help.
Are you sure that you have the correct pointshop code? That error doesn't match up.
Its the correct Pointshop Code i use the Unknown Pointshop
Replace all the \'s with /'s. \ is used to denote escape sequences ( ie \n = new line )
Sorry, you need to Log In to post a reply to this thread.