Darkbull Posted May 10, 2010 Posted May 10, 2010 Hey I have a problem. I was following the guide on wiki. I used this code. function joinHandler() local x = 82.0761 local y = 2474.1331 local z = 16.4844 spawnPlayer(source, x, y, z) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Welcome to My Server", source) end Saved as script.lua and then connected to the server. When I went to connect to it again I could not spawn at all. I had a black screen bt the chat was visable. Does anyone know how to fix this?
eAi Posted May 10, 2010 Posted May 10, 2010 You haven't attached your function to an event - you've not used addEventHandler. Check you've followed the wiki carefully.
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