micheal1230 Posted May 19, 2012 Share Posted May 19, 2012 I get this when i add a new shop here is the script error is line 22 function createShopKeeper(x,y,z,interior,dimension,id,shoptype,rotation, skin) if not skin then skin = 0 if shoptype == 3 then skin = 168 -- needs differences for burgershot etc if interior == 5 then skin = 155 elseif interior == 9 then skin = 167 elseif interior == 10 then skin = 205 elseif dimension == 1355 then skin = 171 end -- interior 17 = donut shop else -- clothes, interior 5 = victim -- clothes, interior 15 = binco -- clothes, interior 18 = zip skin = skins[shoptype][math.random( 1, #skins[shoptype] )] end end Link to comment
Stanley Sathler Posted May 19, 2012 Share Posted May 19, 2012 Ok, we know: the error is in line 22. But what the /debugscript 3 says? Please, post here. And if possible, also post here the table "skins" Link to comment
micheal1230 Posted May 19, 2012 Author Share Posted May 19, 2012 Never Mind I Fixed it Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now