• Getting nil value?
    1 replies, posted
i keep getting a nil value when i join my server when i try to spawn [CODE]t = JB.Characters.Prisoner[prisoner]; if preview and preview:IsValid() then preview.Prisoner = true; end[/CODE] [editline]18th January 2013[/editline] [QUOTE=Ozhar;39268394]i keep getting a nil value when i join my server when i try to spawn [CODE]t = JB.Characters.Prisoner[prisoner]; if preview and preview:IsValid() then preview.Prisoner = true; end[/CODE][/QUOTE] nvm got it
lua is picky so whenever you compare something will almost always want to say IsValid(bla), for future reference
Sorry, you need to Log In to post a reply to this thread.